Replace kluent with kotlin.test (#361)

This commit is contained in:
Abe Pazos
2025-07-07 16:23:15 +02:00
committed by GitHub
parent 771e348631
commit 8323054519
19 changed files with 187 additions and 120 deletions

View File

@@ -14,7 +14,7 @@ class TestSpectral {
for (c in colors) {
val r = linearToReflectance(c)
assertEquals(r.size, 38)
assertEquals(38, r.size)
val xyz = reflectanceToXYZ(r)
val cp = xyz.toRGBa().matchLinearity(c)
assertTrue(cp.toVector4().distanceTo(c.toVector4()) < 5E-3)