[go: up one dir, main page]

File: 2_isa.t

package info (click to toggle)
libclass-ooorno-perl 0.011-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 112 kB
  • ctags: 7
  • sloc: perl: 45; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

use strict;
use Test;

# use a BEGIN block so we print our plan before MyModule is loaded
BEGIN { plan tests => 1, todo => [] }
BEGIN { $| = 1 }

# load your module...
use lib './';
use Class::OOorNO;

my($f) = Class::OOorNO->new();

# check to see if Class::OOorNO ISA [foo, etc.]
ok(UNIVERSAL::isa($f,'Class::OOorNO'));

exit;