summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-25 02:10:26 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-25 02:10:26 -0500
commita893d72c2caf3b8dc457115f6409b6bf66a5adbc (patch)
tree2f54bd0774cf91189be2f7afd7ae1a8fd8c9c113 /tests
parent21794278ae305acd5dc13d0cd6a491f420b69880 (diff)
downloaddimension-a893d72c2caf3b8dc457115f6409b6bf66a5adbc.tar.xz
Parse interiors.
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/demo.pov4
-rwxr-xr-xtests/dimension/demo.sh4
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 757857f..d517621 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -63,4 +63,8 @@ sphere {
phong_size 40.0
}
}
+
+ interior {
+ ior 1.3
+ }
}
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index a00d0c0..3411ef2 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -59,7 +59,9 @@ demo_exp=$(echo -n \
(color (integer 0) (integer 1) (integer 0) (integer 0) (integer 0)))
(finish
(phong (float 0.2))
- (phong_size (float 40)))))))' \
+ (phong_size (float 40))))
+ (interior
+ (ior (float 1.3))))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
if [ "$demo" != "$demo_exp" ]; then