t/testlib/beta.t

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« t/testlib/alpha.t ↑ Summary
1 # -*- perl -*-
2 14 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 14 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 14 ▶use Test::More tests => 4;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 14 my @x;
7 14 @x = (1,1);
8 14 ok( $x[0] == $x[1], "elements are identical" );
9 14 is( $x[0], $x[1], "elements are identical: is" );
10  
11 14 @x = (1,2);
12 14 ok( $x[0] != $x[1], "elements differ" );
13 14 isnt( $x[0], $x[1], "elements differ: isnt" );
14  
« t/testlib/alpha.t ↑ Summary