-def return_zero() do
- print('This should not print\n')
- 2
-end
-
-def return_one() do
- print('This should only print once.\n')
- 1
-end
-
def return_true() do
- print('This should print exactly twice.\n')
+ print('This should print exactly once.\n')
true
end
def return_false() do
- print('This should print exactly twice.\n')
+ print('This should also print exactly once.\n')
false
end
-0 < return_one() < 2
-0 < 0 < return_zero()
return_true() or return_true()
return_false() and return_false()
-This should only print once.
-This should print exactly twice.
-This should print exactly twice.
+This should print exactly once.
+This should also print exactly once.