swig/Examples/test-suite/perl5/apply_strings_runme.pl
2006-05-03 20:58:19 +00:00

10 lines
307 B
Raku

use apply_strings;
my $TEST_MESSAGE = "A message from target language to the C++ world and back again.";
if (apply_strings::UCharFunction($TEST_MESSAGE) ne $TEST_MESSAGE) {
die "UCharFunction failed";
}
if (apply_strings::SCharFunction($TEST_MESSAGE) ne $TEST_MESSAGE) {
die "SCharFunction failed";
}