summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/demo.pov1
-rwxr-xr-xtests/dimension/demo.sh3
-rw-r--r--tests/libdimension/render.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 197fe23..0740ecb 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -123,5 +123,6 @@ plane {
y, -2
pigment {
checker color rgb 0, color rgb 1
+ quick_color rgb <1, 0.5, 0.75>
}
}
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 4e0c206..4e26bdc 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -171,6 +171,9 @@ demo_exp=$(echo -n \
(pigment
(pattern checker)
(pigment-modifiers
+ (quick_color
+ (vector (integer 1) (float 0.5) (float 0.75)
+ (integer 0) (integer 0)))
(color-list
(vector (integer 0) (integer 0) (integer 0)
(integer 0) (integer 0))
diff --git a/tests/libdimension/render.c b/tests/libdimension/render.c
index 4f8f23e..1de9fba 100644
--- a/tests/libdimension/render.c
+++ b/tests/libdimension/render.c
@@ -174,6 +174,8 @@ dmnsn_new_test_scene(void)
dmnsn_add_color_map_entry(checker_color_map, 1.0, dmnsn_white);
plane->texture->pigment
= dmnsn_new_color_map_pigment(checker, checker_color_map);
+ plane->texture->pigment->quick_color
+ = dmnsn_color_from_sRGB((dmnsn_sRGB){ 1.0, 0.5, 0.75 });
dmnsn_array_push(scene->objects, &plane);
return scene;