3 # This file is part of Inline::Befunge.
4 # Copyright (c) 2001-2007 Jerome Quelin, all rights reserved.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the same terms as Perl itself.
12 #-------------------------------------#
14 #-------------------------------------#
26 ok( bf_cmp(2,4), -1 );
29 BEGIN { $tests += 4 };
32 use Inline BEF => <<'END_OF_CODE';
33 019p > : #v _ v ;:bf_reverse;
34 @ ^ p91 +1 g91 p8 g91 < $
38 ok( join "", map {chr} bf_reverse( "foobar" ) eq "raboof" );
39 BEGIN { $tests += 1 };
42 BEGIN { plan tests => $tests };