Debian Codegraph @

t/warnings.t

raw symbols SCIP
1 use strictscip-perl cpan Math-Vector-Real-XS 0.10 strict/;
2 use Test::Morescip-perl cpan Math-Vector-Real-XS 0.10 Test/More/;
3
4 my $warnings;
5
6 BEGIN {
7 $^Wscip-perl cpan Math-Vector-Real-XS 0.10 main/`$^W`. = 1;
8 $warnings = 0;
9 $SIGscip-perl cpan Math-Vector-Real-XS 0.10 main/`%SIG`.{__WARN__} = sub { $warnings++ };
10 }
11
12 use Math::Vector::Realscip-perl cpan Math-Vector-Real-XS 0.10 Math/Vector/Real/;
13
14 BEGIN { undef $SIGscip-perl cpan Math-Vector-Real-XS 0.10 main/$SIG.{__WARN__} }
15
16 isscip-perl cpan Math-Vector-Real-XS 0.10 main/is().($warnings, 0, '0 warnings');
17
18 done_testing;
19