summaryrefslogtreecommitdiff
path: root/regress/usr.bin/bc/t16.out
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-11-17 11:23:03 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-11-17 11:23:03 +0000
commit91a2a458ec5c149c03c4f8782102ef7d4ebbb677 (patch)
tree11eea3cf31dca61f536d5cff4e700ca05478d6a6 /regress/usr.bin/bc/t16.out
parente4ba37a5333bbb44cfd6157246e4d4f07b28ce6c (diff)
Test new boolean operators and relational operators in arbitrary expressions.
Diffstat (limited to 'regress/usr.bin/bc/t16.out')
-rw-r--r--regress/usr.bin/bc/t16.out48
1 files changed, 48 insertions, 0 deletions
diff --git a/regress/usr.bin/bc/t16.out b/regress/usr.bin/bc/t16.out
new file mode 100644
index 00000000000..cf01ac74283
--- /dev/null
+++ b/regress/usr.bin/bc/t16.out
@@ -0,0 +1,48 @@
+[R 0]s1
+[[nok1]P]s0
+[[ok1]P]s2
+ 0d0=1 0!=0e2
+[R 0]s1
+[[ok2]P]s0
+[[nok2]P]s2
+ 1d0=1 0!=0e2
+[R 1]s1
+[[ok3]P]s0
+[[nok3]P]s2
+ 0d0=1 0!=0e2
+[R 1]s1
+[[ok4]P]s0
+[[nok4]P]s2
+ 1d0=1 0!=0e2
+[
+]n
+
+[[f]P 0 1Q0 1Q]s
+
+
+[[g]P 0 1Q0 1Q]s
+
+
+[[h]P 1 1Q0 1Q]s
+
+
+
+[Rlx]s1
+[Rlx]s2
+[[ok5]P]s0
+[[nok5]P]s3
+lxd0=1d0=2 0!=0e3
+[Rlx]s1
+[RlxN]s2
+[[nok6]P]s0
+[[ok6]P]s3
+lxd0=1d0=2 0!=0e3
+[RlxN]s1
+[Rlx]s2
+[[nok7]P]s0
+[[ok7]P]s3
+lxd0=1d0=2 0!=0e3
+
+[
+]n
+q \ No newline at end of file