use v6;
use Test;
plan 9;
ok(rand >= 0, 'random numbers are greater than or equal to 0');
ok(rand < 1, 'random numbers are less than 1');
ok 3 > 0, "3 is greater than 0";
is eval('~< foo bar >'), "foo bar", "~<...> is parsed correctly";
is eval('+< foo bar >'), 2, "+<...> is parsed correctly";
ok eval('?< foo bar >'), "?<...> is parsed correctly";
is eval('~(< foo bar >)'), "foo bar", "~(<...>) is parsed correctly";
is eval('+(< foo bar >)'), 2, "+(<...>) is parsed correctly";
ok eval('?(< foo bar >)'), "?(<...>) is parsed correctly";