diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-23 18:38:29 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-23 18:38:29 -0500 |
commit | 6b4b62ab01309462608ad1c885c07be5648c2cf1 (patch) | |
tree | 5d400fc4d26701d17d30a53fe8db86a9950a06d6 /tests/dimension/demo.sh | |
parent | 0d35bf194a386cc6f7ad238bb356e65ed45a6062 (diff) | |
download | dimension-6b4b62ab01309462608ad1c885c07be5648c2cf1.tar.xz |
More parser work.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-x | tests/dimension/demo.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index 452b9bb..816a317 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -20,7 +20,7 @@ ######################################################################### 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 "1") > "," (float "1.25") }) +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 "1") > , (float "1.25") }) ((box (vector (float -1) (float -1) (float -1)) (vector (float 1) (float 1) (float 1))) (sphere (vector (float 0) (float 0) (integer 0)) (float 1.25)))' if [ "$demo" != "$demo_exp" ]; then |