Lichen

tests/logical_simple.py

632:8dd8bb0f0e0b
2017-02-27 Paul Boddie Merged result class refinements.
     1 a = 1     2 b = 2     3 c = a and b     4 print c                             # 2     5      6 d = a or b     7 print d                             # 1     8      9 e = not a    10 print e                             # False    11     12 if a and b:    13     print "a and b"                 # a and b    14     15 if not (a and b):    16     print "not (a and b)"           #    17     18 if not not (a and b):    19     print "not not (a and b)"       # not not (a and b)    20     21 if a or b:    22     print "a or b"                  # a or b    23     24 if not (a or b):    25     print "not (a or b)"            #    26     27 if not not (a or b):    28     print "not not (a or b)"        # not not (a or b)