summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/arithexp.pov2
-rwxr-xr-xtests/dimension/arithexp.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/dimension/arithexp.pov b/tests/dimension/arithexp.pov
index b8d700b..5e27612 100644
--- a/tests/dimension/arithexp.pov
+++ b/tests/dimension/arithexp.pov
@@ -21,5 +21,5 @@
sphere {
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
+ exp(1) - 1*2
}
diff --git a/tests/dimension/arithexp.sh b/tests/dimension/arithexp.sh
index 5fd24f2..6572646 100755
--- a/tests/dimension/arithexp.sh
+++ b/tests/dimension/arithexp.sh
@@ -28,13 +28,13 @@ arithexp_exp="$(echo -n \
(float "1.0") + (integer "2") * (integer "2") - (integer "4") >
-
- < (integer "0") , (integer "0") , (integer "1") > ,
- (float "2.25") - (integer "1") * (integer "2")
+ exp \( (integer "1") \) - (integer "1") * (integer "2")
})' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
$(echo -n \
'((sphere
(vector (float 2) (float 2) (float 3) (integer 0) (integer 0))
- (float 0.25)
+ (float 0.718282)
object-modifiers))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')"