aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/perl5/packageoption_runme.pl
blob: 02e95f7a8889f5fc6ac8b9dc2ecff10b6f90cbca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl -w
use strict;
use Test::More tests => 4;

BEGIN { use_ok('packageoption_a'); }
BEGIN { use_ok('packageoption_b'); }

my $a = CommonPackage::A->new();

isa_ok($a, 'CommonPackage::A');

my $b = CommonPackage::B->new();

isa_ok($b, 'CommonPackage::B');