3 use Test::More tests => 5;
4 BEGIN { use_ok('char_strings') }
5 require_ok('char_strings');
8 is(char_strings::CharPingPong($val1), "100", 'cstr1');
10 my $val2 = "greetings";
11 is(char_strings::CharPingPong($val2), "greetings", 'cstr2');
14 "this is a test" =~ /(\w+)$/;
15 is(char_strings::CharPingPong($1), "test", "handles Magical");