PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Perl | 15 lines | 10 code | 3 blank | 2 comment | 0 complexity | f4960a91c9912b4ade47b4dbf3a9500b MD5 | raw file
 1#!/usr/bin/perl
 2use strict;
 3use warnings;
 4use Test::More tests => 5;
 5BEGIN { use_ok('rename_scope') }
 6require_ok('rename_scope');
 7
 8# adapted from ../python/rename_scope_runme.py
 9
10my $a = rename_scope::Natural_UP->new();
11is($a->rtest(), 1);
12my $b = rename_scope::Natural_BP->new();
13is($b->rtest(), 1);
14
15isa_ok(rename_scope->can('equals'), 'CODE');