remove extraneous garbage from tests
[gitmo/Class-C3.git] / t / 05_MRO.t
1 #!/usr/bin/perl
2
3 use strict;
4 use warnings;
5
6 use Test::More tests => 2;
7
8 BEGIN {
9     use_ok('t::lib::F');
10 }
11
12 =pod 
13
14 From the parrot test t/pmc/object-meths.t
15
16  A   B A   E
17   \ /   \ /
18    C     D
19     \   /
20      \ /
21       F
22
23 =cut
24
25 Class::C3::initialize();
26
27 is_deeply(
28     [ Class::C3::calculateMRO('t::lib::F') ],
29     [ qw(t::lib::F t::lib::C t::lib::D t::lib::A t::lib::B t::lib::E) ],
30     '... got the right MRO for t::lib::F');  
31