summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-22 13:19:45 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-22 13:19:45 -0400
commitbb71a70253ae5bf91e99dcd2809471abebea1b69 (patch)
tree26c145bbdcb6ba71b2f272641439692c30a5254b /tests
parentac3e97014885af00b5a2eb01df232221482db023 (diff)
downloaddimension-bb71a70253ae5bf91e99dcd2809471abebea1b69.tar.xz
Support logical ! operator.
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/directives.pov2
-rwxr-xr-xtests/dimension/directives.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov
index 5137cd2..416bbf5 100644
--- a/tests/dimension/directives.pov
+++ b/tests/dimension/directives.pov
@@ -42,7 +42,7 @@
#declare Counter = 0;
#while (Counter < 2)
- #if (#if (1 = 1) 0 #end = 0 & 0)
+ #if (#if (1 = 1) 0 #end = 0 & !1)
#error "Nested #if parsing failed"
#else
sphere {
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index 74bde02..42815a6 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -37,7 +37,7 @@ directives_exp="$(echo -n \
#end
#declare (identifier "Counter") = (integer "0") ;
#while \( (identifier "Counter") < (integer "2") \)
- #if \( #if \( (integer "1") = (integer "1") \) (integer "0") #end = (integer "0") & (integer "0") \)
+ #if \( #if \( (integer "1") = (integer "1") \) (integer "0") #end = (integer "0") & ! (integer "1") \)
#error (string "Nested #if parsing failed")
#else
sphere {