5 pipp/t/relops.t - tests for Pipp
13 Set up tests in an array, like in arithmetics.t
22 use lib "$FindBin::Bin/../../lib";
24 use Parrot::Config ();
26 use Test::More tests => 13;
29 my $expected = "Condition is true.\n";
31 language_output_is( 'Pipp', <<'END_CODE', $expected, 'zero is less than' );
48 language_output_is( 'Pipp', <<'END_CODE', $expected, 'less than' );
66 language_output_is( 'Pipp', <<'END_CODE', $expected, 'less equal' );
84 language_output_is( 'Pipp', <<'END_CODE', $expected, 'equal' );
102 language_output_is( 'Pipp', <<'END_CODE', $expected, 'greater equal' );
120 language_output_is( 'Pipp', <<'END_CODE', $expected, 'greater than' );
138 language_output_is( 'Pipp', <<'END_CODE', $expected, 'unequal' );
155 $expected = "Condition is false.\n";
157 language_output_is( 'Pipp', <<'END_CODE', $expected, 'not less than' );
175 language_output_is( 'Pipp', <<'END_CODE', $expected, 'not less equal' );
193 language_output_is( 'Pipp', <<'END_CODE', $expected, 'not equal' );
211 language_output_is( 'Pipp', <<'END_CODE', $expected, 'not greater equal' );
229 language_output_is( 'Pipp', <<'END_CODE', $expected, 'not greater than' );
247 language_output_is( 'Pipp', <<'END_CODE', $expected, 'not unequal' );