PageRenderTime 39ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/perl5/apply_strings_runme.pl

#
Perl | 11 lines | 8 code | 3 blank | 0 comment | 0 complexity | a57c67993f334032779f2a9fe5f283ad MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. use strict;
  2. use warnings;
  3. use Test::More tests => 4;
  4. BEGIN { use_ok('apply_strings') }
  5. require_ok('apply_strings');
  6. my $TEST_MESSAGE = "A message from target language to the C++ world and back again.";
  7. is(apply_strings::UCharFunction($TEST_MESSAGE), $TEST_MESSAGE, "UCharFunction");
  8. is(apply_strings::SCharFunction($TEST_MESSAGE), $TEST_MESSAGE, "SCharFunction");