4
use Test::More tests => 7;
5
BEGIN { use_ok('varargs') }
8
is(varargs::test("Hello"), "Hello");
10
my $f = new varargs::Foo("BuonGiorno", 1);
11
is($f->{str}, "BuonGiorno");
13
$f = new varargs::Foo("Greetings");
14
is($f->{str}, "Greetings");
16
is($f->test("Hello"), "Hello");
18
is(varargs::Foo::statictest("Grussen", 1), "Grussen");