Debian Codegraph @

t/values.t

raw symbols SCIP
1 use Test::More qw(no_plan);
2 use strict;
3 use warnings;
4
5 use autobox::Core;
6
7 my %hash = ( foo => 1, bar => 2, baz => 3 );
8
9 is_deeply [ sort %hash->values ], [ qw( 1 2 3 ) ];
10
11 my $arrayref = %hash->values;
12
13 is ref $arrayref, 'ARRAY', "Returns arrayref in scalar context";
14