musique/regression-tests/boolean/logical_or.mq
2022-09-25 03:19:00 +02:00

14 lines
232 B
Plaintext

say (false or false);
say (false or true);
say (true or false);
say (true or true);
-- Test value preservation
say (0 or 1);
say (0 or 0);
say (4 or 3);
-- Test lazy evaluation
(say 42; false) or say 10;
(say 42; true) or say 10;