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