summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-23 13:14:16 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-23 13:14:16 -0500
commitd6cfecdc224e95f1379f918d642074eada40627f (patch)
treea51324383ad8f1cf5d968ba41690d1f7ac7cbad5 /tests/dimension/demo.sh
parentb49cf79b57af160ba190fea76d7143cce3428985 (diff)
downloaddimension-d6cfecdc224e95f1379f918d642074eada40627f.tar.xz
Implement pigment maps.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh22
1 files changed, 17 insertions, 5 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index a741268..80d5ade 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -189,11 +189,23 @@ demo_exp=$(echo -n \
(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))
- (vector (integer 1) (integer 1) (integer 1)
- (integer 0) (integer 0))))))))' \
+ (pigment-list
+ (pigment
+ (vector (integer 1) (integer 1) (integer 1)
+ (integer 0) (integer 0))
+ pigment-modifiers)
+ (pigment
+ (pattern checker)
+ (pigment-modifiers
+ (transformation
+ (scale (vector (float 0.333333) (float 0.333333)
+ (float 0.333333) (float 0.333333)
+ (float 0.333333))))
+ (color-list
+ (vector (integer 0) (integer 0) (integer 0)
+ (integer 0) (integer 0))
+ (vector (integer 1) (integer 1) (integer 1)
+ (integer 0) (integer 0)))))))))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
if [ "$demo" != "$demo_exp" ]; then