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>
18 lines
493 B
Swift
18 lines
493 B
Swift
import Foundation
|
|
import Testing
|
|
@testable import ICCeryCore
|
|
|
|
@Suite("ProfcheckArgs")
|
|
struct ProfcheckArgsTests {
|
|
|
|
@Test("Hard-coded argv")
|
|
func argv() throws {
|
|
let config = ProfcheckConfig(
|
|
ti3URL: URL(fileURLWithPath: "/tmp/target.ti3"),
|
|
iccURL: URL(fileURLWithPath: "/tmp/target.icc")
|
|
)
|
|
let args = try ProfcheckArgs.build(config: config)
|
|
#expect(args == ["-v", "-k", "-s", "-u", "/tmp/target.ti3", "/tmp/target.icc"])
|
|
}
|
|
}
|