2 # Copyright (C) 2001-2007, The Perl Foundation.
7 use lib qw( . lib ../lib ../../lib );
9 use Parrot::Test tests => 8;
13 t/pmc/boolean.t - Boolean Ops
17 % prove t/pmc/boolean.t
21 Tests C<Boolean> PMC. Checks comparison and logic operations for various
26 pasm_output_is( <<'CODE', <<'OUTPUT', "Initialization, and integer tests" );
54 pasm_output_is( <<'CODE', <<'OUTPUT', "Number tests" );
78 pasm_output_is( <<'CODE', <<'OUTPUT', "String tests" );
110 pasm_output_is( <<'CODE', <<'OUTPUT', "PMC to PMC" );
140 pasm_output_is( <<'CODE', <<'OUTPUT', "As boolean" );
153 pasm_output_is( <<'CODE', <<'OUTPUT', "Logic operations" );
232 pasm_output_is( <<'CODE', <<'OUTPUT', "neg" );
268 pir_output_is( << 'CODE', << 'OUTPUT', "check whether interface is done" );
274 does bool1, pmc1, "scalar"
277 does bool1, pmc1, "boolean"
280 does bool1, pmc1, "no_interface"
293 # cperl-indent-level: 4
296 # vim: expandtab shiftwidth=4: