summaryrefslogtreecommitdiffstats
path: root/tests/dimension/arithexp.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-25 20:27:05 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-25 20:27:05 -0500
commit02c0213ab823a0c838d295017298cf8cd3493342 (patch)
tree50acf3e6283d070139a34a78741ee8f87ce774a3 /tests/dimension/arithexp.sh
parent1c899d86c393faf021298d08471f0dd48d5306d7 (diff)
downloaddimension-02c0213ab823a0c838d295017298cf8cd3493342.tar.xz
Add vector promotion.
Diffstat (limited to 'tests/dimension/arithexp.sh')
-rwxr-xr-xtests/dimension/arithexp.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dimension/arithexp.sh b/tests/dimension/arithexp.sh
index 4b2fbba..66ecd8e 100755
--- a/tests/dimension/arithexp.sh
+++ b/tests/dimension/arithexp.sh
@@ -22,6 +22,7 @@
arithexp=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/arithexp.pov)
arithexp_exp="$(echo -n \
'(sphere {
+ (integer "2") *
< < (float "2.0") - (float "1.0") , (float "3.0") , (float "4.0") > . x ,
\( (float "1.0") + (integer "2") \) * (integer "2") - (integer "5") ,
(float "1.0") + (integer "2") * (integer "2") - (integer "4") >
@@ -32,7 +33,7 @@ arithexp_exp="$(echo -n \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
$(echo -n \
'((sphere
- (vector (float 1) (float 1) (float 2) (integer 0) (integer 0))
+ (vector (float 2) (float 2) (float 3) (integer 0) (integer 0))
(float 0.25)
object-modifiers))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')"