1use Test::More;
2use strict; use warnings FATAL => 'all';
3
4use List::Objects::WithUtils 'array';
5
6my $arr = array(0);
7my $pushed = $arr->push( 1 .. 3 );
8ok $pushed == $arr, 'push returned self';
9is_deeply
10  [ $arr->all ],
11  [ 0 .. 3 ],
12  'push ok';
13
14done_testing;
15