namespace Test class Test def main is shared b as bool = true assert b b = false assert not b # not assert not false assert not not true # and assert true and true assert not (true and false) assert not (false and true) assert not (false and false) # or assert true or true assert true or false assert false or true assert not (false or false) # 2 bool ops assert true and true or false assert not (true or true and false) assert true and false or true assert true or false and true # comparison assert true==true assert false==false assert true<>false assert false<>true def returnTrue as bool return true def returnFalse as bool return false