xref: /openbsd/regress/usr.bin/bc/t14.in (revision 05efa1f5)
1*05efa1f5Sottoif ((0 == 0)) "ok" else "nok"
2*05efa1f5Sottoif ((1 == 0)) "nok" else "ok"
3*05efa1f5Sottoif ((0 == 1)) "nok" else "ok"
4*05efa1f5Sottoprint "\n"
5*05efa1f5Sottoif ((0 != 0)) "nok" else "ok"
6*05efa1f5Sottoif ((1 != 0)) "ok" else "nok"
7*05efa1f5Sottoif ((0 != 1)) "ok" else "nok"
8*05efa1f5Sottoprint "\n"
9*05efa1f5Sottoif ((0 == 0)) "ok" else "nok"
10*05efa1f5Sottoif ((1 == 0)) "nok" else "ok"
11*05efa1f5Sottoif ((0 == 1)) "nok" else "ok"
12*05efa1f5Sottoprint "\n"
13*05efa1f5Sottoif ((0 < 1)) "ok" else "nok"
14*05efa1f5Sottoif ((1 < 0)) "nok" else "ok"
15*05efa1f5Sottoif ((1 < 1)) "nok" else "ok"
16*05efa1f5Sottoprint "\n"
17*05efa1f5Sottoif ((0 <= 1)) "ok" else "nok"
18*05efa1f5Sottoif ((1 <= 0)) "nok" else "ok"
19*05efa1f5Sottoif ((1 <= 1)) "ok" else "nok"
20*05efa1f5Sottoprint "\n"
21*05efa1f5Sottoif ((0 > 1)) "nok" else "ok"
22*05efa1f5Sottoif ((1 > 0)) "ok" else "nok"
23*05efa1f5Sottoif ((1 > 1)) "nok" else "ok"
24*05efa1f5Sottoprint "\n"
25*05efa1f5Sottoif ((0 >= 1)) "nok" else "ok"
26*05efa1f5Sottoif ((1 >= 0)) "ok" else "nok"
27*05efa1f5Sottoif ((1 >= 1)) "ok" else "nok"
28*05efa1f5Sottoprint "\n"
29