6 use Test::More tests => 3;
9 use_ok('Moose::Autobox');
15 [ 1 .. 5 ]->map(sub { $_ * $_ }),
17 '... got the expected return values');
20 [ 1 .. 5 ]->map(sub { $_ * $_ })->do(sub { $_->zip($_) }),
21 [ [1, 1], [4, 4], [9, 9], [16, 16], [25, 25] ],
22 '... got the expected return values');