aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-16 03:59:30 +0100
committerMattias Andrée <maandree@kth.se>2016-12-16 03:59:30 +0100
commit4789231ea9d6d9e65bf2a619275605aff0b8d4a0 (patch)
tree501028ccc7a79c257ef63bff9ad2099f91d695be /src/test.c
parentbug fixes + beginning of test (diff)
downloadlibcolour-4789231ea9d6d9e65bf2a619275605aff0b8d4a0.tar.gz
libcolour-4789231ea9d6d9e65bf2a619275605aff0b8d4a0.tar.bz2
libcolour-4789231ea9d6d9e65bf2a619275605aff0b8d4a0.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/test.c b/src/test.c
index 13f4e91..d7e8cf1 100644
--- a/src/test.c
+++ b/src/test.c
@@ -61,11 +61,11 @@ int test_convert(libcolour_colour_t* c1, libcolour_model_t model)
return -1;
return r1 & r2;
case LIBCOLOUR_CIELUV:
- case LIBCOLOUR_CIELCH:
- c2.cielch.white.model = LIBCOLOUR_CIEXYZ;
- c2.cielch.white.X = 1.0294;
- c2.cielch.white.Y = 1;
- c2.cielch.white.Z = 0.9118;
+ case LIBCOLOUR_CIELCHUV:
+ c2.cieluv.white.model = LIBCOLOUR_CIEXYZ;
+ c2.cieluv.white.X = 1.0294;
+ c2.cieluv.white.Y = 1;
+ c2.cieluv.white.Z = 0.9118;
return test_convert_(c1, &c2, &c3);
case LIBCOLOUR_CIEUVW:
c2.cieuvw.u0 = 0.37;
@@ -95,11 +95,11 @@ int test_convert_all(libcolour_model_t model, const char* model_name)
c1.srgb.with_gamma = 0;
break;
case LIBCOLOUR_CIELUV:
- case LIBCOLOUR_CIELCH:
- c1.cielch.white.model = LIBCOLOUR_CIEXYZ;
- c1.cielch.white.X = 1.0294;
- c1.cielch.white.Y = 1;
- c1.cielch.white.Z = 0.9118;
+ case LIBCOLOUR_CIELCHUV:
+ c1.cieluv.white.model = LIBCOLOUR_CIEXYZ;
+ c1.cieluv.white.X = 1.0294;
+ c1.cieluv.white.Y = 1;
+ c1.cieluv.white.Z = 0.9118;
break;
case LIBCOLOUR_CIEUVW:
c1.cieuvw.u0 = 0.37;