roza/tests/acceptances/bool.roza

17 lines
429 B
Plaintext

# BOOL ARITHMETIC
# ===============
assert not true == false
assert not false == true
assert false == not true
assert not not true == true
assert not not not false == true
assert (true and true) == true
assert (true and false) == false
assert (false and true) == false
assert (false and false) == false
assert (true or true) == true
assert (true or false) == true
assert (false or true) == true
assert (false or false) == false