Debian Codegraph @

t/flip.t

raw symbols SCIP
1 #!/usr/bin/env perl
2 use Test::Morescip-perl cpan autobox-Core 1.33 Test/More/ tests => 2;
3 use autobox::Corescip-perl cpan autobox-Core 1.33 autobox/Core/;
4
5 my %hash = ( 1 => 'foo', 3 => 'bar' );
6 my $f;
7
8 is_deeplyscip-perl cpan autobox-Core 1.33 main/is_deeply().( $f = %hash->flipscip-perl cpan autobox-Core 1.33 main/flip()., { foo => 1, bar => 3 } );
9
10 my %f = %hash->flipscip-perl cpan autobox-Core 1.33 main/flip().;
11
12 is_deeplyscip-perl cpan autobox-Core 1.33 main/is_deeply().( \%f, { foo => 1, bar => 3 }, "Returns hash in list context" );
13
14 my %nested = ( 1 => { foo => 'bar' }, 2 => 'bar' );