diff options
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/arithexp.pov | 2 | ||||
-rwxr-xr-x | tests/dimension/arithexp.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dimension/arithexp.pov b/tests/dimension/arithexp.pov index 5b458e7..5d0e8fb 100644 --- a/tests/dimension/arithexp.pov +++ b/tests/dimension/arithexp.pov @@ -20,5 +20,5 @@ // Render demo scene sphere { - <1.0, (1.0 + 2)*2 - 5, 1.0 + 2*2 - 4> - -<0, 0, 1>, 2.25 - 1*2 + <<2.0 - 1.0, 3.0, 4.0>.x, (1.0 + 2)*2 - 5, 1.0 + 2*2 - 4> - -<0, 0, 1>, 2.25 - 1*2 } diff --git a/tests/dimension/arithexp.sh b/tests/dimension/arithexp.sh index 4d89387..12e3432 100755 --- a/tests/dimension/arithexp.sh +++ b/tests/dimension/arithexp.sh @@ -20,7 +20,7 @@ ######################################################################### arithexp=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/arithexp.pov) -arithexp_exp='(sphere { < (float "1.0") , \( (float "1.0") + (integer "2") \) * (integer "2") - (integer "5") , (float "1.0") + (integer "2") * (integer "2") - (integer "4") > - - < (integer "0") , (integer "0") , (integer "1") > , (float "2.25") - (integer "1") * (integer "2") }) +arithexp_exp='(sphere { < < (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") > - - < (integer "0") , (integer "0") , (integer "1") > , (float "2.25") - (integer "1") * (integer "2") }) ((sphere (vector (float 0) (float 0) (float 0) (integer 0) (integer 0)) (float 0.25)))' if [ "$arithexp" != "$arithexp_exp" ]; then |