1.1 --- a/tests/logical.py Mon Nov 21 19:03:07 2016 +0100
1.2 +++ b/tests/logical.py Mon Nov 21 19:03:20 2016 +0100
1.3 @@ -12,3 +12,19 @@
1.4
1.5 def j(a, b, c):
1.6 return f(a, b, c) and g(a, b, c) or c
1.7 +
1.8 +print f(0, 0, 0) # 0
1.9 +print f(1, 0, 1) # 0
1.10 +print f(1, 1, 1) # 1
1.11 +print g(0, 0, 0) # 0
1.12 +print g(1, 0, 0) # 1
1.13 +print g(0, 0, 1) # 1
1.14 +print h(0, 0, 0) # 0
1.15 +print h(0, 0, 1) # 1
1.16 +print h(1, 0, 0) # 0
1.17 +print i(0, 0, 0) # 0
1.18 +print i(0, 0, 1) # 0
1.19 +print i(1, 0, 0) # 1
1.20 +print j(0, 0, 0) # 0
1.21 +print j(0, 0, 1) # 1
1.22 +print j(1, 0, 0) # 0