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>
25 lines
824 B
Swift
25 lines
824 B
Swift
import Foundation
|
|
import Testing
|
|
@testable import ICCeryCore
|
|
|
|
@Suite("ColprofProgress")
|
|
struct ColprofProgressTests {
|
|
|
|
@Test("Classifies gamut mapping")
|
|
func gamutMapping() {
|
|
#expect(ColprofProgressClassifier.classify(line: "Gamut mapping calculation in progress") == .gamutMapping)
|
|
}
|
|
|
|
@Test("Classifies fitting or clut")
|
|
func fitting() {
|
|
#expect(ColprofProgressClassifier.classify(line: "Fitting cLUT grid points") == .fittingClut)
|
|
#expect(ColprofProgressClassifier.classify(line: "clut table") == .fittingClut)
|
|
}
|
|
|
|
@Test("Classifies writing")
|
|
func writing() {
|
|
#expect(ColprofProgressClassifier.classify(line: "Writing ICC profile header") == .writingIcc)
|
|
#expect(ColprofProgressClassifier.classify(line: "icc profile written") == .writingIcc)
|
|
}
|
|
}
|