summaryrefslogtreecommitdiffstats
path: root/tests/dimension/arithexp.pov
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dimension/arithexp.pov')
-rw-r--r--tests/dimension/arithexp.pov16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/dimension/arithexp.pov b/tests/dimension/arithexp.pov
index d25be7d..30281e5 100644
--- a/tests/dimension/arithexp.pov
+++ b/tests/dimension/arithexp.pov
@@ -24,6 +24,8 @@ sphere {
exp(1) - 1*2
}
+/* Float functions */
+
#if (abs(-1) != 1)
#error "abs"
#end
@@ -167,3 +169,17 @@ sphere {
#if (vlength(1) != 1.732050807568877)
#error "vlength"
#end
+
+/* Float built-in IDs */
+
+#if (pi != 3.141592653589793)
+ #error "pi"
+#end
+
+#if (!true | !yes | !on)
+ #error "true"
+#end
+
+#if (false | no | off)
+ #error "false"
+#end