diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-24 21:49:06 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-24 21:49:06 -0500 |
commit | f1b92556c2189b5b5dbd5d81d966f2d2a8e9b2ab (patch) | |
tree | f4addfcd09e728e64b74298e381e43e28ba58798 /tests/dimension/demo.sh | |
parent | a3a951ce9e87af1036c97c99987812273f62224c (diff) | |
download | dimension-f1b92556c2189b5b5dbd5d81d966f2d2a8e9b2ab.tar.xz |
New arithmetic expression test.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-x | tests/dimension/demo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index 8119969..3ee9635 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -20,8 +20,8 @@ ######################################################################### demo=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/demo.pov) -demo_exp='(box { < - (float "2.0") + (integer "1") , - (integer "2") / (float "2.0") , - (float "1.0") > , < (float "1.0") , \( (float "1.0") + (integer "2") \) * (integer "2") - (integer "5") , (float "1.0") + (integer "2") * (integer "2") - (integer "4") > } sphere { < (integer "1") / (integer "5") + - (integer "1") / (integer "5") , (integer "1") / (float "5.0") - (float "1.0") / (integer "5") , - (integer "1") > - - < (integer "0") , (integer "0") , (integer "1") > , (float "1.25") }) -((box (vector (float -1) (float -1) (float -1) (integer 0) (integer 0)) (vector (float 1) (float 1) (float 1) (integer 0) (integer 0))) (sphere (vector (float 0) (float 0) (integer 0) (integer 0) (integer 0)) (float 1.25)))' +demo_exp='(box { < - (integer "1") , - (integer "1") , - (integer "1") > , < (integer "1") , (integer "1") , (integer "1") > } sphere { < (integer "0") , (integer "0") , (integer "0") > , (float "1.25") }) +((box (vector (integer -1) (integer -1) (integer -1) (integer 0) (integer 0)) (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))) (sphere (vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0)) (float 1.25)))' if [ "$demo" != "$demo_exp" ]; then echo "demo.pov parsed as \"$demo\"" >&2 |