summaryrefslogtreecommitdiffstats
path: root/tests/dimension/arithexp.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-20 02:01:16 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-20 02:01:16 -0400
commit4566f4e34afaab1c47120e8a377859d88a142ffe (patch)
tree626541ad48efe078a4e6f86cf1af903d8225320b /tests/dimension/arithexp.sh
parentfc06cb624d79788923ab2dedb3cd2ccab53cb2b4 (diff)
downloaddimension-4566f4e34afaab1c47120e8a377859d88a142ffe.tar.xz
A bunch more float functions.
Diffstat (limited to 'tests/dimension/arithexp.sh')
-rwxr-xr-xtests/dimension/arithexp.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/dimension/arithexp.sh b/tests/dimension/arithexp.sh
index 6572646..0829e49 100755
--- a/tests/dimension/arithexp.sh
+++ b/tests/dimension/arithexp.sh
@@ -19,19 +19,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
#########################################################################
-arithexp=$(${top_builddir}/dimension/dimension --tokenize --parse ${srcdir}/arithexp.pov)
+arithexp=$(${top_builddir}/dimension/dimension --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") >
- -
- - < (integer "0") , (integer "0") , (integer "1") > ,
- 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.718282)