swig/Examples/test-suite/perl5/apply_strings_runme.pl
Robert Stone 8b713d759d several testcases for perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-30 21:02:46 +00:00

11 lines
368 B
Perl

use strict;
use warnings;
use Test::More tests => 4;
BEGIN { use_ok('apply_strings') }
require_ok('apply_strings');
my $TEST_MESSAGE = "A message from target language to the C++ world and back again.";
is(apply_strings::UCharFunction($TEST_MESSAGE), $TEST_MESSAGE, "UCharFunction");
is(apply_strings::SCharFunction($TEST_MESSAGE), $TEST_MESSAGE, "SCharFunction");