Add the Stage 4/5 native workflow: deterministic colprof/applycal/iccgamut and profcheck argv builders, verification history with CSV export and drift analytics, user/system ColorSync profile installation, and the matching SwiftUI views and fixture-driven tests. All Argyll interaction remains AGPL-isolated via ProcessManager subprocesses. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
17 lines
446 B
Swift
17 lines
446 B
Swift
import Foundation
|
|
import Testing
|
|
@testable import ICCeryCore
|
|
|
|
@Suite("IccgamutArgs")
|
|
struct IccgamutArgsTests {
|
|
|
|
@Test("Density is 10 and not a directory")
|
|
func densityNotDirectory() throws {
|
|
let config = IccgamutConfig(
|
|
profileURL: URL(fileURLWithPath: "/tmp/MyProfile.icc")
|
|
)
|
|
let args = try IccgamutArgs.build(config: config)
|
|
#expect(args == ["-v", "-d", "10", "/tmp/MyProfile.icc"])
|
|
}
|
|
}
|