projects
/
p5sagit/p5-mst-13.2.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
history
|
HEAD
Re: A new PerlIO coredump
[p5sagit/p5-mst-13.2.git]
/
t
/
lib
/
u-sum.t
Commit
Line
Data
f4a2945e
1
BEGIN {
2
chdir 't' if -d 't';
3
@INC = '../lib';
4
}
5
6
use List::Util qw(sum);
7
8
print "1..3\n";
9
10
print "not " if defined sum;
11
print "ok 1\n";
12
13
print "not " unless sum(9) == 9;
14
print "ok 2\n";
15
16
print "not " unless sum(1,2,3,4) == 10;
17
print "ok 3\n";
18