PASSED
Test file Test results Time %
t/all.t
  • 1..51
  • ok 1 - min 1 2 3 -> 1
  • ok 2 - min 3 2 1 -> 1
  • ok 3 - min 2 -1 -> -1
  • ok 4 - ok: min 2e4 2e5 2e6 == 2e4
  • ok 5 - min undef -> undef
  • ok 6 - max 1 2 3 -> 3
  • ok 7 - max 3 2 1 -> 3
  • ok 8 - max 3 2 -1 -> 3
  • ok 9 - max ok: 2e4 2e5 2e6 -> 2e6
  • ok 10 - max undef -> undef
  • ok 11 - sum 1 2 3 -> 6
  • ok 12 - sum 3 2 1 -> 6
  • ok 13 - sum 3 2 -1 -> 4
  • ok 14 - sum undef -> undef
  • ok 15 - mean 1 2 3 -> 2
  • ok 16 - mean 3 2 1 -> 2
  • ok 17 - mean is_approx 3 2 -1 -> 1.333333333333333
  • ok 18 - mean undef -> undef
  • ok 19 - median 1 2 3 -> 2
  • ok 20 - median 3 2 1 -> 2
  • ok 21 - median 4 3 2 1 -> 2.5
  • ok 22 - median 5 4 3 2 1 -> 3
  • ok 23 - median 1, 5, 2, 10, 8, 7 -> 6
  • ok 24 - median undef -> undef
  • ok 25 - mode 5
  • ok 26 - mode 1 2 3 -> 2
  • ok 27 - mode 3 2 1 -> 2
  • ok 28 - mode
  • ok 29 - mode
  • ok 30 - mode 5 4 3 2 1 -> 3
  • ok 31 - mode 5 4 3 2 1 -> 3
  • ok 32 - mode 6
  • ok 33 - mode undef -> undef
  • ok 34 - variance is_approx 3 2 -1 -> 4.333333333333333
  • ok 35 - variance 1 -> 0
  • ok 36 - variance <123 456 789> -> 110889
  • ok 37 - variance (undef) -> undef
  • ok 38 - variance undef -> undef
  • ok 39 - variance is_approx 3 2 -1 -> 4.888888888888888
  • ok 40 - variancep 1 -> 0
  • ok 41 - variance <123 456 789> -> 73926
  • ok 42 - variancep (undef) -> undef
  • ok 43 - variancep undef -> undef
  • ok 44 - variance is_approx 3 2 -1 -> 2.08166599946613
  • ok 45 - stddev 1 -> 0
  • ok 46 - variance <123 456 789> -> 333
  • ok 47 - variance is_approx 3 2 -1 -> 1.69967317119759
  • ok 48 - stddevp 1 -> 0
  • ok 49 - variance <123 456 789> -> 271.893361448933
  • ok 50 - frequencies
  • ok 51 - statshash
34.67s 100.0%
1 files 51 tests, 51 ok, 0 failed, 0 todo, 0 skipped, 0 parse errors
exit status: 0, wait status: 0
elapsed time: 35 wallclock secs ( 0.06 usr 0.00 sys + 14.38 cusr 0.37 csys = 14.81 CPU)
34.67s 100.0%