6 use Test::More tests => 2;
9 use lib 'opt', '../opt', '..';
15 example taken from: L<http://gauss.gwydiondylan.org/books/drm/drm_50.html>
31 define class <sentient> (<life-form>) end class;
32 define class <bipedal> (<life-form>) end class;
33 define class <intelligent> (<sentient>) end class;
34 define class <humanoid> (<bipedal>) end class;
35 define class <vulcan> (<intelligent>, <humanoid>) end class;
65 use base ('Intelligent', 'Humanoid');
68 Class::C3::initialize();
71 [ c3::calculateMRO('Vulcan') ],
72 [ qw(Vulcan Intelligent Sentient Humanoid BiPedal LifeForm Object) ],
73 '... got the right MRO for the Vulcan Dylan Example');