swig/Examples/test-suite/perl5/multiple_inheritance_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

12 lines
306 B
Perl

use strict;
use warnings;
use Test::More tests => 5;
BEGIN { use_ok('multiple_inheritance') }
require_ok('multiple_inheritance');
my $fooBar = new multiple_inheritance::FooBar();
is($fooBar->foo(), 2, "Runtime test1");
is($fooBar->bar(), 1, "Runtime test2");
is($fooBar->fooBar(), 3, "Runtime test3 ");