remove extraneous garbage from tests
[gitmo/Class-C3.git] / t / 05_MRO.t
CommitLineData
d401eda1 1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
ef29cd70 6use Test::More tests => 2;
d401eda1 7
8BEGIN {
ef29cd70 9 use_ok('t::lib::F');
d401eda1 10}
11
12=pod
13
14From 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
2ffffc6d 25Class::C3::initialize();
26
d401eda1 27is_deeply(
ef29cd70 28 [ Class::C3::calculateMRO('t::lib::F') ],
d401eda1 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