use strict;
use warnings;
-use Test::More tests => 12;
-
-BEGIN {
- use_ok('Class::C3');
- # uncomment this line, and re-run the
- # test to see the normal p5 dispatch order
- #$Class::C3::TURN_OFF_C3 = 1;
-}
+use Test::More tests => 11;
=pod
our %hello = (h => 1, e => 2, l => "3 & 4", o => 5)
}
+Class::C3::initialize();
+
is(Diamond_D->hello, 'Diamond_C::hello', '... method resolves with the correct MRO');
is(Diamond_D->goodbye, 'Diamond_C::goodbye', '... method resolves with the correct MRO');