PATH=C:\mingw\bin;C:\cygwin\bin;C:\cpanfly-5.20\var\megalib\bin;C:\Perl-5.20\site\bin;C:\Perl-5.20\bin;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\instantclient_11_2;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\mysql\bin
Start 2014-09-28T19:06:29
ActivePerl-2000 CPAN-2.00
LIB=C:\PROGRA~1\MICROS~3\VC98\Lib\PSDK
PATH=C:/CPANFL~1.20/var/libs/bin;C:\mingw\bin;C:\cygwin\bin;C:\CPANFL~1.20\var\megalib\bin;C:\Perl-5.20\site\bin;C:\Perl-5.20\bin;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\INSTAN~1;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\mysql\bin
Reading 'C:\cpanfly-5.20\var\cpan\Metadata'
Database was generated on Mon, 29 Sep 2014 00:17:02 GMT
Running make for S/SM/SMUELLER/Dumbbench-0.09.tar.gz
Fetching with LWP:
http://cpan.nas1.activestate.com/authors/id/S/SM/SMUELLER/Dumbbench-0.09.tar.gz
Checksum for C:\cpanfly-5.20\var\cpan\sources\authors\id\S\SM\SMUELLER\Dumbbench-0.09.tar.gz ok
Dumbbench-0.09/
Dumbbench-0.09/META.yml
Dumbbench-0.09/lib/
Dumbbench-0.09/lib/Benchmark/
Dumbbench-0.09/lib/Benchmark/Dumb.pm
Dumbbench-0.09/lib/Dumbbench/
Dumbbench-0.09/lib/Dumbbench/Stats.pm
Dumbbench-0.09/lib/Dumbbench/BoxPlot.pm
Dumbbench-0.09/lib/Dumbbench/Instance.pm
Dumbbench-0.09/lib/Dumbbench/Instance/
Dumbbench-0.09/lib/Dumbbench/Instance/PerlSub.pm
Dumbbench-0.09/lib/Dumbbench/Instance/Cmd.pm
Dumbbench-0.09/lib/Dumbbench/Instance/PerlEval.pm
Dumbbench-0.09/lib/Dumbbench/Result.pm
Dumbbench-0.09/lib/Dumbbench/CPUFrequencyPinner.pm
Dumbbench-0.09/lib/Dumbbench.pm
Dumbbench-0.09/xt/
Dumbbench-0.09/xt/at_000_eval_vs_sub.t
Dumbbench-0.09/xt/at_000_external_vs_eval.t
Dumbbench-0.09/MANIFEST
Dumbbench-0.09/t/
Dumbbench-0.09/t/000_load.t
Dumbbench-0.09/t/010_stats.t
Dumbbench-0.09/t/100_bdumb.t
Dumbbench-0.09/r/
Dumbbench-0.09/r/boxplot.r
Dumbbench-0.09/bin/
Dumbbench-0.09/bin/dumbbench
Dumbbench-0.09/META.json
Dumbbench-0.09/Makefile.PL
Dumbbench-0.09/Changes
Dumbbench-0.09/README
Dumbbench-0.09/simulator/
Dumbbench-0.09/simulator/simulate_benchmark.pl
Dumbbench-0.09/simulator/lib/
Dumbbench-0.09/simulator/lib/Dumbbench/
Dumbbench-0.09/simulator/lib/Dumbbench/Sim/
Dumbbench-0.09/simulator/lib/Dumbbench/Sim/Config.pm
Dumbbench-0.09/simulator/lib/Dumbbench/Sim.pm
Dumbbench-0.09/simulator/cfg/
Dumbbench-0.09/simulator/cfg/slow.yml
Dumbbench-0.09/simulator/cfg/fast.yml
Dumbbench-0.09/simulator/cfg/simple.yml
Dumbbench-0.09/simulator/gauss_cdf_test.pl
CPAN.pm: Building S/SM/SMUELLER/Dumbbench-0.09.tar.gz
>>> C:\Perl-5.20\bin\perl.exe Makefile.PL
Warning: prerequisite Number::WithError 1.00 not found.
Warning: prerequisite Statistics::CaseResampling 0.06 not found.
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Dumbbench
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- SMUELLER/Dumbbench-0.09.tar.gz ----
Statistics::CaseResampling [requires]
Number::WithError [requires]
Running make test
Delayed until after prerequisites
Running test for module 'Statistics::CaseResampling'
Running make for S/SM/SMUELLER/Statistics-CaseResampling-0.15.tar.gz
Fetching with LWP:
http://cpan.nas1.activestate.com/authors/id/S/SM/SMUELLER/Statistics-CaseResampling-0.15.tar.gz
Checksum for C:\cpanfly-5.20\var\cpan\sources\authors\id\S\SM\SMUELLER\Statistics-CaseResampling-0.15.tar.gz ok
Statistics-CaseResampling-0.15/
Statistics-CaseResampling-0.15/CaseResampling.xs
Statistics-CaseResampling-0.15/META.yml
Statistics-CaseResampling-0.15/lib/
Statistics-CaseResampling-0.15/lib/Statistics/
Statistics-CaseResampling-0.15/lib/Statistics/CaseResampling.pm
Statistics-CaseResampling-0.15/_stats.c
Statistics-CaseResampling-0.15/MYMETA.yml
Statistics-CaseResampling-0.15/MANIFEST
Statistics-CaseResampling-0.15/t/
Statistics-CaseResampling-0.15/t/02stats.t
Statistics-CaseResampling-0.15/t/01all.t
Statistics-CaseResampling-0.15/RdGen.xs.inc
Statistics-CaseResampling-0.15/MYMETA.json
Statistics-CaseResampling-0.15/typemap
Statistics-CaseResampling-0.15/ppport.h
Statistics-CaseResampling-0.15/Makefile.PL
Statistics-CaseResampling-0.15/_mt.c
Statistics-CaseResampling-0.15/Changes
Statistics-CaseResampling-0.15/mt.h
Statistics-CaseResampling-0.15/README
Statistics-CaseResampling-0.15/stats.h
CPAN.pm: Building S/SM/SMUELLER/Statistics-CaseResampling-0.15.tar.gz
>>> C:\Perl-5.20\bin\perl.exe Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Statistics::CaseResampling
Writing MYMETA.yml and MYMETA.json
>>> dmake
cp lib/Statistics/CaseResampling.pm blib\lib\Statistics\CaseResampling.pm
Running Mkbootstrap for Statistics::CaseResampling ()
C:\Perl-5.20\bin\perl.exe -MExtUtils::Command -e chmod -- 644 CaseResampling.bs
C:\Perl-5.20\bin\perl.exe C:\cpanfly-5.20\var\megalib\ExtUtils\xsubpp -typemap C:\Perl-5.20\lib\ExtUtils\typemap -typemap typemap CaseResampling.xs > CaseResampling.xsc && C:\Perl-5.20\bin\perl.exe -MExtUtils::Command -e mv -- CaseResampling.xsc CaseResampling.c
gcc -c -I. -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" "-IC:\Perl-5.20\lib\CORE" CaseResampling.c
gcc -c -I. -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" "-IC:\Perl-5.20\lib\CORE" _mt.c
gcc -c -I. -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"0.15\" -DXS_VERSION=\"0.15\" "-IC:\Perl-5.20\lib\CORE" _stats.c
C:\Perl-5.20\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Statistics::CaseResampling\", 'DLBASE' => 'CaseResampling', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def CaseResampling.def --output-exp dll.exp
g++ -o blib\arch\auto\Statistics\CaseResampling\CaseResampling.dll -Wl,--base-file -Wl,dll.base -mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl-5.20\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib" CaseResampling.o _mt.o _stats.o C:\Perl-5.20\lib\CORE\libperl520.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def CaseResampling.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Statistics\CaseResampling\CaseResampling.dll -mdll -s -static-libgcc -static-libstdc++ -L"C:\Perl-5.20\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib" CaseResampling.o _mt.o _stats.o C:\Perl-5.20\lib\CORE\libperl520.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\Perl-5.20\bin\perl.exe -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Statistics\CaseResampling\CaseResampling.dll
SMUELLER/Statistics-CaseResampling-0.15.tar.gz
dmake -- OK
Running make test
>>> dmake test TEST_VERBOSE=1
C:\Perl-5.20\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t
t/01all.t ....
1..83
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23 - mean of example is correct
ok 24 - mean of example is correct
ok 25 - median of example is correct
ok 26 - median of example is correct
ok 27 - MAD of example is correct
ok 28 - MAD of example is correct
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41 - [1] has median 1
ok 42 - [1] has median 1
ok 43 - [1] median() and select_kth() agree
ok 44 - [1] median() and select_kth() agree
ok 45 - [1 2] has median 1
ok 46 - [1 2] has median 1
ok 47 - [1 2] median() and select_kth() agree
ok 48 - [1 2] median() and select_kth() agree
ok 49 - [1 2 3] has median 2
ok 50 - [1 2 3] has median 2
ok 51 - [1 2 3] median() and select_kth() agree
ok 52 - [1 2 3] median() and select_kth() agree
ok 53 - [1 2 3 4] has median 2
ok 54 - [1 2 3 4] has median 2
ok 55 - [1 2 3 4] median() and select_kth() agree
ok 56 - [1 2 3 4] median() and select_kth() agree
ok 57 - [4 3 2 1] has median 2
ok 58 - [4 3 2 1] has median 2
ok 59 - [4 3 2 1] median() and select_kth() agree
ok 60 - [4 3 2 1] median() and select_kth() agree
ok 61 - [4 1 2 3] has median 2
ok 62 - [4 1 2 3] has median 2
ok 63 - [4 1 2 3] median() and select_kth() agree
ok 64 - [4 1 2 3] median() and select_kth() agree
ok 65 - [5 4 1 2 3] has median 3
ok 66 - [5 4 1 2 3] has median 3
ok 67 - [5 4 1 2 3] median() and select_kth() agree
ok 68 - [5 4 1 2 3] median() and select_kth() agree
ok 69
ok 70
ok 71
ok 72
ok 73
ok 74 - selecting 1th works
ok 75 - selecting 1th works
ok 76 - selecting 2th works
ok 77 - selecting 2th works
ok 78 - selecting 3th works
ok 79 - selecting 3th works
ok 80 - selecting 4th works
ok 81 - selecting 4th works
ok 82 - selecting 5th works
ok 83 - selecting 5th works
ok
t/02stats.t ..
1..4
ok 1 - mean
ok 2 - sample_standard_deviation
ok 3 - population_standard_deviation
ok 4
ok
All tests successful.
Files=2, Tests=87, 0 wallclock secs ( 0.05 usr + 0.06 sys = 0.11 CPU)
Result: PASS
SMUELLER/Statistics-CaseResampling-0.15.tar.gz
dmake test TEST_VERBOSE=1 -- OK
Fetching with LWP:
http://cpan.nas1.activestate.com/authors/id/S/SM/SMUELLER/CHECKSUMS
Steffen Mueller <smueller@cpan.org>
Efficient resampling and calculation of medians with confidence intervals
>>> (cd C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e && tar cvf - Statistics-CaseResampling-0.15.ppd blib) | gzip -c >C:/cpanfly-5.20/var/REPO/S/SM/SMUELLER/Statistics-CaseResampling-0.15.tar.gz
Statistics-CaseResampling-0.15.ppd
blib/
blib/arch/
blib/arch/auto/
blib/arch/auto/Statistics/
blib/arch/auto/Statistics/CaseResampling/
blib/arch/auto/Statistics/CaseResampling/CaseResampling.dll
blib/lib/
blib/lib/Statistics/
blib/lib/Statistics/CaseResampling.pm
>>> mv C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/Statistics-CaseResampling-0.15.ppd C:/cpanfly-5.20/var/REPO/S/SM/SMUELLER
Running test for module 'Number::WithError'
Running make for S/SM/SMUELLER/Number-WithError-1.01.tar.gz
Prepending C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'get'
Fetching with LWP:
http://cpan.nas1.activestate.com/authors/id/S/SM/SMUELLER/Number-WithError-1.01.tar.gz
Checksum for C:\cpanfly-5.20\var\cpan\sources\authors\id\S\SM\SMUELLER\Number-WithError-1.01.tar.gz ok
Number-WithError-1.01/
Number-WithError-1.01/inc/
Number-WithError-1.01/inc/Module/
Number-WithError-1.01/inc/Module/Install.pm
Number-WithError-1.01/inc/Module/Install/
Number-WithError-1.01/inc/Module/Install/Base.pm
Number-WithError-1.01/inc/Module/Install/Fetch.pm
Number-WithError-1.01/inc/Module/Install/Can.pm
Number-WithError-1.01/inc/Module/Install/WriteAll.pm
Number-WithError-1.01/inc/Module/Install/Makefile.pm
Number-WithError-1.01/inc/Module/Install/Win32.pm
Number-WithError-1.01/inc/Module/Install/Metadata.pm
Number-WithError-1.01/Changes
Number-WithError-1.01/Makefile.PL
Number-WithError-1.01/t/
Number-WithError-1.01/t/05functions.t
Number-WithError-1.01/t/regression.txt
Number-WithError-1.01/t/07asarray.t
Number-WithError-1.01/t/06err.t
Number-WithError-1.01/t/02constructor.t
Number-WithError-1.01/t/03round.t
Number-WithError-1.01/t/00podcover.t
Number-WithError-1.01/t/00pod.t
Number-WithError-1.01/t/01compile.t
Number-WithError-1.01/t/04arith.t
Number-WithError-1.01/MANIFEST
Number-WithError-1.01/README
Number-WithError-1.01/META.yml
Number-WithError-1.01/lib/
Number-WithError-1.01/lib/Number/
Number-WithError-1.01/lib/Number/WithError.pm
Prepending C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'make'
CPAN.pm: Building S/SM/SMUELLER/Number-WithError-1.01.tar.gz
>>> C:\Perl-5.20\bin\perl.exe Makefile.PL
Warning: prerequisite Test::LectroTest 0 not found.
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Number::WithError
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- SMUELLER/Number-WithError-1.01.tar.gz ----
Test::LectroTest [build_requires]
Prepending C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'test'
Running make test
Delayed until after prerequisites
Running test for module 'Test::LectroTest'
Running make for T/TM/TMOERTEL/Test-LectroTest-0.5001.tar.gz
Prepending C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'get'
Fetching with LWP:
http://cpan.nas1.activestate.com/authors/id/T/TM/TMOERTEL/Test-LectroTest-0.5001.tar.gz
Fetching with LWP:
http://cpan.nas1.activestate.com/authors/id/T/TM/TMOERTEL/CHECKSUMS
Checksum for C:\cpanfly-5.20\var\cpan\sources\authors\id\T\TM\TMOERTEL\Test-LectroTest-0.5001.tar.gz ok
Test-LectroTest-0.5001
Test-LectroTest-0.5001/TODO
Test-LectroTest-0.5001/THANKS
Test-LectroTest-0.5001/README
Test-LectroTest-0.5001/Changes
Test-LectroTest-0.5001/t
Test-LectroTest-0.5001/t/pod.t
Test-LectroTest-0.5001/LICENSE
Test-LectroTest-0.5001/buildrpm
Test-LectroTest-0.5001/dist.ini
Test-LectroTest-0.5001/t/gens.t
Test-LectroTest-0.5001/META.yml
Test-LectroTest-0.5001/MANIFEST
Test-LectroTest-0.5001/checkpods
Test-LectroTest-0.5001/t/props.t
Test-LectroTest-0.5001/t/props2.t
Test-LectroTest-0.5001/t/runner.t
Test-LectroTest-0.5001/t/compat.t
Test-LectroTest-0.5001/t/harness.t
Test-LectroTest-0.5001/t/docs-eg.t
Test-LectroTest-0.5001/Makefile.PL
Test-LectroTest-0.5001/t/recorder.t
Test-LectroTest-0.5001/MANIFEST.SKIP
Test-LectroTest-0.5001/t/pod-coverage.t
Test-LectroTest-0.5001/tex
Test-LectroTest-0.5001/tex/titlepage.ltx
Test-LectroTest-0.5001/t/lib
Test-LectroTest-0.5001/t/lib/CaptureOutput.pm
Test-LectroTest-0.5001/lib/Test
Test-LectroTest-0.5001/lib/Test/LectroTest.pm
Test-LectroTest-0.5001/t/release-pod-syntax.t
Test-LectroTest-0.5001/t/release-pod-coverage.t
Test-LectroTest-0.5001/lib/Test/LectroTest
Test-LectroTest-0.5001/lib/Test/LectroTest/Compat.pm
Test-LectroTest-0.5001/lib/Test/LectroTest/Property.pm
Test-LectroTest-0.5001/lib/Test/LectroTest/Tutorial.pod
Test-LectroTest-0.5001/lib/Test/LectroTest/Generator.pm
Test-LectroTest-0.5001/lib/Test/LectroTest/TestRunner.pm
Test-LectroTest-0.5001/posts/perlmonks
Test-LectroTest-0.5001/posts/perlmonks/testing-tutorial.html
Test-LectroTest-0.5001/lib/Test/LectroTest/FailureRecorder.pm
Test-LectroTest-0.5001/lib/Test/LectroTest/RegressionTesting.pod
Prepending C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'make'
CPAN.pm: Building T/TM/TMOERTEL/Test-LectroTest-0.5001.tar.gz
>>> C:\Perl-5.20\bin\perl.exe Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Test::LectroTest
Writing MYMETA.yml and MYMETA.json
>>> dmake
cp lib/Test/LectroTest.pm blib\lib\Test\LectroTest.pm
cp lib/Test/LectroTest/Generator.pm blib\lib\Test\LectroTest\Generator.pm
cp lib/Test/LectroTest/TestRunner.pm blib\lib\Test\LectroTest\TestRunner.pm
cp lib/Test/LectroTest/FailureRecorder.pm blib\lib\Test\LectroTest\FailureRecorder.pm
cp lib/Test/LectroTest/Tutorial.pod blib\lib\Test\LectroTest\Tutorial.pod
cp lib/Test/LectroTest/Compat.pm blib\lib\Test\LectroTest\Compat.pm
cp lib/Test/LectroTest/RegressionTesting.pod blib\lib\Test\LectroTest\RegressionTesting.pod
cp lib/Test/LectroTest/Property.pm blib\lib\Test\LectroTest\Property.pm
TMOERTEL/Test-LectroTest-0.5001.tar.gz
dmake -- OK
Prepending C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'test'
Running make test
>>> dmake test TEST_VERBOSE=1
C:\Perl-5.20\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t
t/compat.t ................
1..7
ok 1 - property 'always succeeds' (5 attempts)
ok 2 - property 'cmp_ok can be used' (1000 attempts)
ok 3 - trivial 0<1 test
ok 4 - property 'inline' (1000 attempts)
ok 5 - trivial 0<1 test
ok 6 - false property yields test failure
ok 7 - failing cmp_ok w/in prop yields test failure
ok
t/docs-eg.t ...............
1..3
ok 1 - 'my_sqrt satisfies defn of square root' (1000 attempts)
# 0% less than 1
ok 2 - 'my_thing_to_test ignores fractions' (1000 attempts)
ok 3 - 'my_thing_to_test ignores fractions' (1000 attempts)
ok
t/gens.t ..................
1..248
ok 1 - use Test::LectroTest::Generator;
ok 2 - Int constructor returns something
ok 3 - Int ctor returns a Test::LectroTest::Generator
ok 4 - Bool constructor returns something
ok 5 - Bool ctor returns a Test::LectroTest::Generator
ok 6 - Float constructor returns something
ok 7 - Float ctor returns a Test::LectroTest::Generator
ok 8 - Char constructor returns something
ok 9 - Char ctor returns a Test::LectroTest::Generator
ok 10 - String constructor returns something
ok 11 - String ctor returns a Test::LectroTest::Generator
ok 12 - List constructor returns something
ok 13 - List ctor returns a Test::LectroTest::Generator
ok 14 - Elements(1) constructor returns something
ok 15 - Elements(1) ctor returns a Test::LectroTest::Generator
ok 16 - Unit(1) constructor returns something
ok 17 - Unit(1) ctor returns a Test::LectroTest::Generator
ok 18 - Paste constructor returns something
ok 19 - Paste ctor returns a Test::LectroTest::Generator
ok 20 - OneOf(Unit(0)) constructor returns something
ok 21 - OneOf(Unit(0)) ctor returns a Test::LectroTest::Generator
ok 22 - Each constructor returns something
ok 23 - Each ctor returns a Test::LectroTest::Generator
ok 24 - Map{} constructor returns something
ok 25 - Map{} ctor returns a Test::LectroTest::Generator
ok 26 - Concat constructor returns something
ok 27 - Concat ctor returns a Test::LectroTest::Generator
ok 28 - Flatten constructor returns something
ok 29 - Flatten ctor returns a Test::LectroTest::Generator
ok 30 - ConcatMap{} constructor returns something
ok 31 - ConcatMap{} ctor returns a Test::LectroTest::Generator
ok 32 - FlattenMap{} constructor returns something
ok 33 - FlattenMap{} ctor returns a Test::LectroTest::Generator
ok 34 - Hash(Unit(1),Unit(1)) constructor returns something
ok 35 - Hash(Unit(1),Unit(1)) ctor returns a Test::LectroTest::Generator
ok 36 - Frequency([1,"a"]) constructor returns something
ok 37 - Frequency([1,"a"]) ctor returns a Test::LectroTest::Generator
ok 38 - Sized{1}Unit(0) constructor returns something
ok 39 - Sized{1}Unit(0) ctor returns a Test::LectroTest::Generator
ok 40 - Bool dist mean is 0.5 (z-score = 0.64)
ok 41 - Char(charset=>"x") generates only 'x' values
ok 42 - Char(charset=>"a-j") is complete and uniformly distributed
ok 43 - Char(charset=>'a') generated the char set 'a'
ok 44 - Char(charset=>'-') generated the char set '-'
ok 45 - Char(charset=>'a-a') generated the char set 'a'
ok 46 - Char(charset=>'-a') generated the char set '-a'
ok 47 - Char(charset=>'a-') generated the char set '-a'
ok 48 - Char(charset=>'aA-C') generated the char set 'ABCa'
ok 49 - Char(charset=>'A-Ca') generated the char set 'ABCa'
ok 50 - Char(charset=>'X-YaA-C') generated the char set 'ABCXYa'
ok 51 - Char(charset=>'A-CaX-Y') generated the char set 'ABCXYa'
ok 52 - Elements(0 1 2 3 4 5 6 7 8 9) is complete and uniformly distributed
ok 53 - Elements(a b c d e f g h i j) is complete and uniformly distributed
ok 54 - pre-flight: Elements() caught
ok 55 - Float(sized=>0,range=>[-400,-200]) dist mean is -300 (z-score = 1.80)
ok 56 - Float(sized=>0,range=>[-300,-100]) dist mean is -200 (z-score = -0.11)
ok 57 - Float(sized=>0,range=>[-200,0]) dist mean is -100 (z-score = 0.77)
ok 58 - Float(sized=>0,range=>[-100,100]) dist mean is 0 (z-score = 0.17)
ok 59 - Float(sized=>0,range=>[0,200]) dist mean is 100 (z-score = -2.41)
ok 60 - Float(sized=>0,range=>[100,300]) dist mean is 200 (z-score = 1.10)
ok 61 - Float(sized=>0,range=>[200,400]) dist mean is 300 (z-score = -0.27)
ok 62 - Float(sized=>1,range=>[0,2000]) dist mean is 900 (z-score = -1.03)
ok 63 - Float(sized=>1,range=>[0,4000]) dist mean is 1600 (z-score = -0.38)
ok 64 - Float(sized=>1,range=>[0,6000]) dist mean is 2100 (z-score = -0.40)
ok 65 - Float(sized=>1,range=>[0,8000]) dist mean is 2400 (z-score = -0.31)
ok 66 - Float(sized=>1,range=>[0,10000]) dist mean is 2500 (z-score = -0.81)
ok 67 - Float(sized=>1,range=>[-2000,2000]) dist mean is 0 (z-score = 1.24)
ok 68 - Float(sized=>1,range=>[-4000,4000]) dist mean is 0 (z-score = -0.79)
ok 69 - Float(sized=>1,range=>[-6000,6000]) dist mean is 0 (z-score = -0.70)
ok 70 - Float(sized=>1,range=>[-8000,8000]) dist mean is 0 (z-score = 0.30)
ok 71 - Float(sized=>1,range=>[-10000,10000]) dist mean is 0 (z-score = -1.13)
ok 72 - Float(sized=>0,range=>[-4,-2]) dist mean is -3 (z-score = 0.64)
ok 73 - Float(sized=>0,range=>[-3,-1]) dist mean is -2 (z-score = -0.88)
ok 74 - Float(sized=>0,range=>[-2,0]) dist mean is -1 (z-score = 0.69)
ok 75 - Float(sized=>0,range=>[-1,1]) dist mean is 0 (z-score = 0.11)
ok 76 - Float(sized=>0,range=>[0,2]) dist mean is 1 (z-score = 0.40)
ok 77 - Float(sized=>0,range=>[1,3]) dist mean is 2 (z-score = 0.39)
ok 78 - Float(sized=>0,range=>[2,4]) dist mean is 3 (z-score = -0.49)
ok 79 - Float(range=>[1,0]) is caught as an empty range
ok 80 - Float(range=>[0,-1]) is caught as an empty range
ok 81 - 'Float(range=>[0,0]) is not wrongly caught as empty / ' isa 'Test::LectroTest::Generator'
ok 82 - Sized{undef} Float(range=>[-7,1]) dist mean is -3 (z-score = -1.36)
ok 83 - Sized{undef} Float(range=>[-6,2]) dist mean is -2 (z-score = 0.20)
ok 84 - Sized{undef} Float(range=>[-5,3]) dist mean is -1 (z-score = -2.24)
ok 85 - Sized{undef} Float(range=>[-4,4]) dist mean is 0 (z-score = 0.30)
ok 86 - Sized{undef} Float(range=>[-3,5]) dist mean is 1 (z-score = -0.15)
ok 87 - Sized{undef} Float(range=>[-2,6]) dist mean is 2 (z-score = -0.78)
ok 88 - Sized{undef} Float(range=>[-1,7]) dist mean is 3 (z-score = -1.17)
ok 89 - Float(range=>[-10,-1]) is caught as incompatible with sizing
ok 90 - Float(range=>[1,10]) is caught as incompatible with sizing
ok 91 - 'Float(range=>[-10,0]) is not wrongly caught as incompatible with sizing /' isa 'Test::LectroTest::Generator'
ok 92 - 'Float(range=>[0,10]) is not wrongly caught as incompatible with sizing /' isa 'Test::LectroTest::Generator'
ok 93 - 'Float is not wrongly caught as incompatible with sizing /' isa 'Test::LectroTest::Generator'
ok 94 - Int(sized=>0,range=>[-3005,-2996]) is complete and uniformly distributed
ok 95 - Int(sized=>0,range=>[-2005,-1996]) is complete and uniformly distributed
ok 96 - Int(sized=>0,range=>[-1005,-996]) is complete and uniformly distributed
ok 97 - Int(sized=>0,range=>[-5,4]) is complete and uniformly distributed
ok 98 - Int(sized=>0,range=>[995,1004]) is complete and uniformly distributed
ok 99 - Int(sized=>0,range=>[1995,2004]) is complete and uniformly distributed
ok 100 - Int(sized=>0,range=>[2995,3004]) is complete and uniformly distributed
ok 101 - Int(sized=>0,range=>[-400,-200]) dist mean is -300 (z-score = 0.92)
ok 102 - Int(sized=>0,range=>[-300,-100]) dist mean is -200 (z-score = -1.19)
ok 103 - Int(sized=>0,range=>[-200,0]) dist mean is -100 (z-score = -0.37)
ok 104 - Int(sized=>0,range=>[-100,100]) dist mean is 0 (z-score = -1.18)
ok 105 - Int(sized=>0,range=>[0,200]) dist mean is 100 (z-score = 0.10)
ok 106 - Int(sized=>0,range=>[100,300]) dist mean is 200 (z-score = -0.54)
ok 107 - Int(sized=>0,range=>[200,400]) dist mean is 300 (z-score = -1.60)
ok 108 - Int(sized=>1,range=>[0,2000]) dist mean is 900 (z-score = -0.59)
ok 109 - Int(sized=>1,range=>[0,4000]) dist mean is 1600 (z-score = 0.04)
ok 110 - Int(sized=>1,range=>[0,6000]) dist mean is 2100 (z-score = -1.10)
ok 111 - Int(sized=>1,range=>[0,8000]) dist mean is 2400 (z-score = 0.76)
ok 112 - Int(sized=>1,range=>[0,10000]) dist mean is 2500 (z-score = -0.26)
ok 113 - Int(sized=>1,range=>[-2000,2000]) dist mean is 0 (z-score = 1.04)
ok 114 - Int(sized=>1,range=>[-4000,4000]) dist mean is 0 (z-score = -1.36)
ok 115 - Int(sized=>1,range=>[-6000,6000]) dist mean is 0 (z-score = 0.11)
ok 116 - Int(sized=>1,range=>[-8000,8000]) dist mean is 0 (z-score = 0.27)
ok 117 - Int(sized=>1,range=>[-10000,10000]) dist mean is 0 (z-score = -0.39)
ok 118 - Int(sized=>0,range=>[-4,-2]) dist mean is -3 (z-score = 1.04)
ok 119 - Int(sized=>0,range=>[-3,-1]) dist mean is -2 (z-score = -0.17)
ok 120 - Int(sized=>0,range=>[-2,0]) dist mean is -1 (z-score = 0.08)
ok 121 - Int(sized=>0,range=>[-1,1]) dist mean is 0 (z-score = 1.07)
ok 122 - Int(sized=>0,range=>[0,2]) dist mean is 1 (z-score = -0.06)
ok 123 - Int(sized=>0,range=>[1,3]) dist mean is 2 (z-score = -0.16)
ok 124 - Int(sized=>0,range=>[2,4]) dist mean is 3 (z-score = -2.37)
ok 125 - Int(range=>[1,0]) is caught as an empty range
ok 126 - Int(range=>[0,-1]) is caught as an empty range
ok 127 - 'Int(range=>[0,0]) is not wrongly caught as empty / ' isa 'Test::LectroTest::Generator'
ok 128 - Sized{undef} Int(range=>[-8,1]) is complete and uniformly distributed
ok 129 - Sized{undef} Int(range=>[-7,2]) is complete and uniformly distributed
ok 130 - Sized{undef} Int(range=>[-6,3]) is complete and uniformly distributed
ok 131 - Sized{undef} Int(range=>[-5,4]) is complete and uniformly distributed
ok 132 - Sized{undef} Int(range=>[-4,5]) is complete and uniformly distributed
ok 133 - Sized{undef} Int(range=>[-3,6]) is complete and uniformly distributed
ok 134 - Sized{undef} Int(range=>[-2,7]) is complete and uniformly distributed
ok 135 - Int(range=>[-10,-1]) is caught as incompatible with sizing
ok 136 - Int(range=>[1,10]) is caught as incompatible with sizing
ok 137 - 'Int(range=>[-10,0]) is not wrongly caught as incompatible with sizing /' isa 'Test::LectroTest::Generator'
ok 138 - 'Int(range=>[0,10]) is not wrongly caught as incompatible with sizing /' isa 'Test::LectroTest::Generator'
ok 139 - 'Int is not wrongly caught as incompatible with sizing /' isa 'Test::LectroTest::Generator'
ok 140 - Hash(Unit(0),Unit(1)) gens {0=>1}
ok 141 - Hash(Int(range=>[0,5],sized=>0),Unit(1),length=>1000) gens {0=>1,1=>1,2=>1,3=>1,4=>1,5=>1}
ok 142 - pre-flight: Hash(Int) caught
ok 143 - List(Unit(1)) elem length under sizing [1..1] dist mean is 0.5 (z-score = -0.56)
ok 144 - List(Unit(1)) elem length under sizing [1..5] dist mean is 1.5 (z-score = 1.12)
ok 145 - List(Unit(1)) elem length under sizing [1..10] dist mean is 2.75 (z-score = -1.93)
ok 146 - List(Unit(1)) elem length under sizing [1..25] dist mean is 6.5 (z-score = 1.14)
ok 147 - All lists from List(Unit('x'),length=>0) are [('x')x0]
ok 148 - All lists from List(Unit('x'),length=>1) are [('x')x1]
ok 149 - All lists from List(Unit('x'),length=>2) are [('x')x2]
ok 150 - All lists from List(Unit('x'),length=>3) are [('x')x3]
ok 151 - List(Unit('x'),length=>[0,]) elem length under sizing [0..5] dist mean is 1.25 (z-score = -1.67)
ok 152 - List(Unit('x'),length=>[1,]) elem length under sizing [0..5] dist mean is 1.83333333333333 (z-score = -0.33)
ok 153 - List(Unit('x'),length=>[4,]) elem length under sizing [0..5] dist mean is 4.08333333333333 (z-score = 0.00)
ok 154 - List(Unit('x'),length=>[5,]) elem length under sizing [0..10] dist mean is 5.68181818181818 (z-score = 0.17)
ok 155 - List(Unit('x'),length=>[0,]) elem length under sizing [1..5] dist mean is 1.5 (z-score = -1.16)
ok 156 - List(Unit('x'),length=>[1,]) elem length under sizing [1..5] dist mean is 2 (z-score = -1.18)
ok 157 - List(Unit('x'),length=>[4,]) elem length under sizing [1..5] dist mean is 4.1 (z-score = 0.00)
ok 158 - List(Unit('x'),length=>[5,]) elem length under sizing [1..10] dist mean is 5.75 (z-score = -0.35)
ok 159 - List(Unit('x'),length=>[0,]) elem length under sizing [2..5] dist mean is 1.75 (z-score = -0.55)
ok 160 - List(Unit('x'),length=>[1,]) elem length under sizing [2..5] dist mean is 2.25 (z-score = -0.04)
ok 161 - List(Unit('x'),length=>[4,]) elem length under sizing [2..5] dist mean is 4.125 (z-score = 1.85)
ok 162 - List(Unit('x'),length=>[5,]) elem length under sizing [2..10] dist mean is 5.83333333333333 (z-score = -0.93)
ok 163 - List(Unit('x'),length=>[0,9]) elem length dist mean is 4.5 (z-score = 0.16)
ok 164 - List(Unit('x'),length=>[10,19]) elem length dist mean is 14.5 (z-score = -0.19)
ok 165 - List(Unit('x'),length=>[20,29]) elem length dist mean is 24.5 (z-score = -0.84)
ok 166 - List(Unit('x'),length=>[30,39]) elem length dist mean is 34.5 (z-score = 0.19)
ok 167 - pre-flight: List(length=>-1) caught
ok 168 - pre-flight: List(length=>[-1,]) caught
ok 169 - pre-flight: List(length=>[-1,0]) caught
ok 170 - pre-flight: List(length=>[1,0]) caught
ok 171 - pre-flight: List(length=>[]) caught
ok 172 - pre-flight: List(length=>[0,1,2]) caught
ok 173 - pre-flight: List(length=>{1=>1}) caught
ok 174 - String() length under sizing [1..1] dist mean is 0.5 (z-score = 0.56)
ok 175 - String() length under sizing [1..5] dist mean is 1.5 (z-score = 1.10)
ok 176 - String() length under sizing [1..10] dist mean is 2.75 (z-score = -0.97)
ok 177 - String() length under sizing [1..25] dist mean is 6.5 (z-score = -0.06)
ok 178 - All strings from String(charset=>'x',length=>0) are ''
ok 179 - All strings from String(charset=>'x',length=>1) are 'x'
ok 180 - All strings from String(charset=>'x',length=>2) are 'xx'
ok 181 - All strings from String(charset=>'x',length=>3) are 'xxx'
ok 182 - String(length=>[0,]) length under sizing [0..5] dist mean is 1.25 (z-score = 0.26)
ok 183 - String(length=>[1,]) length under sizing [0..5] dist mean is 1.83333333333333 (z-score = -0.42)
ok 184 - String(length=>[4,]) length under sizing [0..5] dist mean is 4.08333333333333 (z-score = 0.20)
ok 185 - String(length=>[5,]) length under sizing [0..10] dist mean is 5.68181818181818 (z-score = -1.00)
ok 186 - String(length=>[0,]) length under sizing [1..5] dist mean is 1.5 (z-score = -0.24)
ok 187 - String(length=>[1,]) length under sizing [1..5] dist mean is 2 (z-score = 0.63)
ok 188 - String(length=>[4,]) length under sizing [1..5] dist mean is 4.1 (z-score = -0.27)
ok 189 - String(length=>[5,]) length under sizing [1..10] dist mean is 5.75 (z-score = -0.91)
ok 190 - String(length=>[0,]) length under sizing [2..5] dist mean is 1.75 (z-score = 0.67)
ok 191 - String(length=>[1,]) length under sizing [2..5] dist mean is 2.25 (z-score = -0.14)
ok 192 - String(length=>[4,]) length under sizing [2..5] dist mean is 4.125 (z-score = -0.54)
ok 193 - String(length=>[5,]) length under sizing [2..10] dist mean is 5.83333333333333 (z-score = -0.61)
ok 194 - String(length=>[0,9]) elem length dist mean is 4.5 (z-score = 0.26)
ok 195 - String(length=>[10,19]) elem length dist mean is 14.5 (z-score = 0.23)
ok 196 - String(length=>[20,29]) elem length dist mean is 24.5 (z-score = 1.38)
ok 197 - String(length=>[30,39]) elem length dist mean is 34.5 (z-score = 0.72)
ok 198 - Unit("a")->generate eq "a"
ok 199 - Unit(1)->generate eq 1
ok 200 - Unit(0.334)->generate eq 0.334
ok 201 - Frequency(all freqs = 1, 0 1 2 3 4 5 6 7 8 9) is complete and uniformly distributed
ok 202 - Frequency(all freqs = 1, a b c d e f g h i j) is complete and uniformly distributed
ok 203 - Frequency([[0,Unit("no")],[1,Unit("yes")]]) generates only 'yes'
ok 204 - Frequency([[1,Unit("yes")],[0,Unit("no")]]) generates only 'yes'
ok 205 - pre-flight: Frequency() caught
ok 206 - pre-flight: Frequency([0,Bool]) caught
ok 207 - pre-flight: Frequency([1,Bool],[-1,Bool]) caught
ok 208 - Paste w/o glue as expected
ok 209 - Paste w/ glue as expected
ok 210 - Paste([empty]) => empty str
ok 211 - Paste([1,1,1,1]) => '1111'
ok 212 - Paste(0,[],2) => '02'
ok 213 - Paste(0,[1,1,1,1],2) => '011112'
ok 214 - Sized{1}(Int(sized=>1,range=>[-1,100])) dist mean is 0 (z-score = 0.34)
ok 215 - Sized{$_[0]/2}(Int(sized=>1,range=>[-1,100])) dist mean is 24.75 (z-score = 0.88)
ok 216 - Each(Unit(1),Unit(2),Unit(3)) generates [1,2,3]
ok 217 - Apply(sub{join"/",@_},Unit(1),Unit(2),Unit(3)) generates 1/2/3
ok 218 - (Map {"x" x $_[0]} Unit(1),Unit(2)) generates ["x","xx"]
ok 219 - Concat generates []
ok 220 - Concat(List(Int,length=>0)) generates []
ok 221 - Concat(Unit("a")) generates ["a"]
ok 222 - Concat(Unit("a"),List(Int,length=>0)) generates ["a"]
ok 223 - Concat(List(Int,length=>0)) generates []
ok 224 - Concat(List(Unit([1]),length=>1)) generates [[1]]
ok 225 - Concat(List(Unit(1),length=>2)) generates [1,1]
ok 226 - Concat(List(Unit(1),length=>2),List(Unit([2]),length=>1)) generates [1,1,[2]]
ok 227 - Flatten generates []
ok 228 - Flatten(Unit([[[[[[[]]]]]]])) generates []
ok 229 - Flatten(Unit("a")) generates ["a"]
ok 230 - Flatten(Unit("a"),List(Int,length=>0)) generates ["a"]
ok 231 - Flatten(List(Int,length=>0)) generates []
ok 232 - Flatten(List(Unit([9]),length=>1)) generates [9]
ok 233 - Flatten(List(Unit(9),length=>2)) generates [9,9]
ok 234 - Flatten(List(Unit(9),length=>2),List(Unit([2]),length=>1)) generates [9,9,2]
ok 235 - ConcatMap{} generates []
ok 236 - ConcatMap{1}Unit(2) generates [1]
ok 237 - ConcatMap{[1]}Unit(2) generates [1]
ok 238 - ConcatMap{[@_]}Each(Unit(2),Unit(3)) generates [[2,3]]
ok 239 - ConcatMap{[@_]}Unit(2),Unit(3) generates [2,3]
ok 240 - ConcatMap{my($a)=@_;$a%2?[$a]:[]}Unit(1),Unit(2),Unit(3) generates [1,3]
ok 241 - FlattenMap{} generates []
ok 242 - FlattenMap{9}Unit(2) generates [9]
ok 243 - FlattenMap{[8]}Unit(2) generates [8]
ok 244 - FlattenMap{[[7]]}Unit(2) generates [7]
ok 245 - FlattenMap{[@_]}Each(Unit(2),Unit(3)) generates [2,3]
ok 246 - FlattenMap{[@_]}Unit(2),Unit([3]) generates [2,3]
ok 247 - FlattenMap{[[[[[9]]]]]}Unit(2),Unit([3]) generates [9,9]
ok 248 - FlattenMap{my($a)=@_;$a%2?[$a]:[]}Unit(9),Unit(2),Unit(3) generates [9,3]
ok
t/harness.t ...............
1..6
ok 1 - suite 0 0 0
ok 2 - suite 0 1 1
ok 3 - suite 1 0 0
ok 4 - suite 1 1 1
ok 5 - suite 0 254 254
ok 6 - suite 0 300 254
ok
t/pod-coverage.t ..........
1..6
ok 1 - Pod coverage on Test::LectroTest
ok 2 - Pod coverage on Test::LectroTest::Compat
ok 3 - Pod coverage on Test::LectroTest::FailureRecorder
ok 4 - Pod coverage on Test::LectroTest::Generator
ok 5 - Pod coverage on Test::LectroTest::Property
ok 6 - Pod coverage on Test::LectroTest::TestRunner
ok
t/pod.t ...................
1..8
ok 1 - POD test for blib/lib/Test/LectroTest.pm
ok 2 - POD test for blib/lib/Test/LectroTest/Compat.pm
ok 3 - POD test for blib/lib/Test/LectroTest/FailureRecorder.pm
ok 4 - POD test for blib/lib/Test/LectroTest/Generator.pm
ok 5 - POD test for blib/lib/Test/LectroTest/Property.pm
ok 6 - POD test for blib/lib/Test/LectroTest/RegressionTesting.pod
ok 7 - POD test for blib/lib/Test/LectroTest/TestRunner.pm
ok 8 - POD test for blib/lib/Test/LectroTest/Tutorial.pod
ok
t/props.t .................
1..11
ok 1 - '0-arg always succeeds' (10 attempts)
ok 2 - '0-arg, alt-syntax always succeeds' (10 attempts)
ok 3 - '1-arg always succeeds (labels, too)' (10 attempts)
# 40% negative
# 30% odd
# 20% negative & odd
ok 4 - '1-arg, alt-syntax always succeeds' (10 attempts)
ok 5 - '1-arg, alt2-syntax always succeeds' (10 attempts)
ok 6 - '1-arg, alt3-syntax always succeeds' (10 attempts)
ok 7 - '1-arg, alt4-syntax always succeeds' (10 attempts)
ok 8 - '2-arg always succeeds' (10 attempts)
ok 9 - 'argument order is preserved' (10 attempts)
ok 10 - 'argument order is preserved (2)' (10 attempts)
ok 11 - 'tcon->dump returns its value arg as its result' (10 attempts)
ok
t/props2.t ................
1..12
ok 1 - Property->new disallows use of 'tcon' in bindings
ok 2 - magic Property syntax disallows use of 'tcon' in bindings
ok 3 - pre-flight: new w/ no args
ok 4 - pre-flight: unbalanced arguments list
ok 5 - pre-flight: new w/o test sub
ok 6 - pre-flight: sets of bindings must have same vars (x) vs ()
ok 7 - pre-flight: sets of bindings must have same vars (x) vs (y)
ok 8 - pre-flight: sets of bindings must have same vars (x) vs (x) vs ()
ok 9 - pre-flight: odd params in binding is caught
ok 10 - pre-flight: no test subroutine
ok 11 - pre-flight: invalid set of generator bindings
ok 12 - pre-flight: invalid inner set of generator bindings
ok
t/recorder.t ..............
1..14
ok 1 - Test::LectroTest + record_failures + non-existent file is OK
ok 2 - Test::LectroTest + playback_failures + non-existent file is OK
ok 3 - Test::LectroTest + regressions + non-existent file is OK
ok 4 - Test::LectroTest::Compat + record_failures + non-existent file is OK
ok 5 - Test::LectroTest::Compat + playback_failures + non-existent file is OK
ok 6 - Test::LectroTest::Compat + regressions + non-existent file is OK
ok 7 - Test::LectroTest + playback_failures playback works (npass=0)
ok 8 - Test::LectroTest + regressions playback works (npass=0)
ok 9 - Test::LectroTest::Compat + playback_failures playback works (npass=0)
ok 10 - Test::LectroTest::Compat + regressions playback works (npass=0)
ok 11 - Test::LectroTest + playback_failures playback works (npass=1)
ok 12 - Test::LectroTest + regressions playback works (npass=1)
ok 13 - Test::LectroTest::Compat + playback_failures playback works (npass=1)
ok 14 - Test::LectroTest::Compat + regressions playback works (npass=1)
ok
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
t/runner.t ................
1..28
ok 1 - 1 gen set + trials=>1 --> 1 trial
ok 2 - 2 gen set + trials=>1 --> 2 trials
ok 3 - retry-always prop --> incomplete
ok 4 - retry before exception prop --> incomplete
ok 5 - $except_prop1 dies and is caught
ok 6 - $except_prop2 dies and is caught
ok 7 - $except_prop3 dies and is caught
ok 8 - labeling every trial with an empty label yields no label output
ok 9 - labeling every trial --> 100%
ok 10 - labeling half of trials --> 50%
ok 11 - 75/25 labeling case checks
ok 12 - 70/20/10 labeling case checks
ok 13 - 100% trivial labeling case checks
ok 14 - notes appear only when a check fails
ok 15 - dump notes appear only when a check fails
ok 16 - all notes are emitted, in order, when check fails
ok 17 - dump notes are emitted, in order, when check fails
ok 18 - unnamed dump notes are emitted, in order, when check fails
ok 19 - desired scale 0 --> 100%
ok 20 - desired scale 1 --> 100%
ok 21 - desired scale 10 --> 100%
ok 22 - TestRunner->run(x,N) respects given test number N
ok 23 - verbose=>1 does include label statistics
ok 24 - verbose=>0 does not include label statistics
ok 25 - verbose=>1 does include counterexample
ok 26 - verbose=>0 does not include counterexample
ok 27 - recorded failures are played back as regression tests
ok 28 - failures recorded for a different prop are ignored
ok
All tests successful.
Files=12, Tests=343, 19 wallclock secs ( 0.11 usr + 0.02 sys = 0.13 CPU)
Result: PASS
TMOERTEL/Test-LectroTest-0.5001.tar.gz
dmake test TEST_VERBOSE=1 -- OK
Tom Moertel <tom@moertel.com>
Easy, automatic, specification-based tests
>>> (cd C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X && tar cvf - Test-LectroTest-0.5001.ppd blib) | gzip -c >C:/cpanfly-5.20/var/REPO/T/TM/TMOERTEL/Test-LectroTest-0.5001.tar.gz
Test-LectroTest-0.5001.ppd
blib/
blib/lib/
blib/lib/Test/
blib/lib/Test/LectroTest/
blib/lib/Test/LectroTest/Compat.pm
blib/lib/Test/LectroTest/FailureRecorder.pm
blib/lib/Test/LectroTest/Generator.pm
blib/lib/Test/LectroTest/Property.pm
blib/lib/Test/LectroTest/RegressionTesting.pod
blib/lib/Test/LectroTest/TestRunner.pm
blib/lib/Test/LectroTest/Tutorial.pod
blib/lib/Test/LectroTest.pm
>>> mv C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/Test-LectroTest-0.5001.ppd C:/cpanfly-5.20/var/REPO/T/TM/TMOERTEL
Running make for S/SM/SMUELLER/Number-WithError-1.01.tar.gz
Prepending C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/arch C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/lib C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8
Prepending C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/arch C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/lib C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'make'
CPAN.pm: Building S/SM/SMUELLER/Number-WithError-1.01.tar.gz
>>> dmake
cp lib/Number/WithError.pm blib\lib\Number\WithError.pm
SMUELLER/Number-WithError-1.01.tar.gz
dmake -- OK
Prepending C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/arch C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/lib C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'test'
Running make test
>>> dmake test TEST_VERBOSE=1
C:\Perl-5.20\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib\lib', 'blib\arch')" t/*.t
t/00pod.t ..........
1..1
ok 1 - POD test for blib/lib/Number/WithError.pm
ok
t/00podcover.t .....
1..1
ok 1 - Pod coverage on Number::WithError
ok
t/01compile.t ......
1..10
ok 1 - Perl version is 5.005 or newer
ok 2 - use Number::WithError;
ok 3 - Number::WithError does not export &witherror by default.
ok 4 - Number::WithError does not export &witherror_big by default.
ok 5 - Number::WithError exports &witherror on demand.
ok 6 - Number::WithError exports &witherror_big on demand.
ok 7 - Switched to clean package. no witherror()
ok 8 - Switched to clean package. no witherror_big()
ok 9 - Number::WithError exports &witherror on demand via :all.
ok 10 - Number::WithError exports &witherror_big on demand via :all.
ok
t/02constructor.t ..
1..612
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
Testing ->new() with integer.
ok 9 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 10 - integer
ok 11 - integer; number of errors
ok 12 - integer; cloning
ok 13 - ; ref not equal after cloning
ok 14 - ; {error} ref not equal after cloning
Testing ->new() with decimal.
ok 15 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 16 - decimal
ok 17 - decimal; number of errors
ok 18 - decimal; cloning
ok 19 - ; ref not equal after cloning
ok 20 - ; {error} ref not equal after cloning
Testing ->new() with scientific.
ok 21 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 22 - scientific
ok 23 - scientific; number of errors
ok 24 - scientific; cloning
ok 25 - ; ref not equal after cloning
ok 26 - ; {error} ref not equal after cloning
Testing ->new() with scientific with error.
ok 27 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 28 - scientific with error
ok 29 - scientific with error; number of errors
ok 30 - scientific with error; error 0
ok 31 - scientific with error; cloning
ok 32 - ; ref not equal after cloning
ok 33 - ; {error} ref not equal after cloning
Testing ->new() with integer with 3 errors.
ok 34 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 35 - integer with 3 errors
ok 36 - integer with 3 errors; number of errors
ok 37 - integer with 3 errors; error 0
ok 38 - integer with 3 errors; error 1
ok 39 - integer with 3 errors; error 2
ok 40 - integer with 3 errors; cloning
ok 41 - ; ref not equal after cloning
ok 42 - ; {error} ref not equal after cloning
Testing ->new() with decimal with 4 errors.
ok 43 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 44 - decimal with 4 errors
ok 45 - decimal with 4 errors; number of errors
ok 46 - decimal with 4 errors; error 0
ok 47 - decimal with 4 errors; error 1
ok 48 - decimal with 4 errors; error 2
ok 49 - decimal with 4 errors; error 3
ok 50 - decimal with 4 errors; cloning
ok 51 - ; ref not equal after cloning
ok 52 - ; {error} ref not equal after cloning
Testing ->new() with scientific with 3 errors incl unbalanced.
ok 53 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 54 - scientific with 3 errors incl unbalanced
ok 55 - scientific with 3 errors incl unbalanced; number of errors
ok 56 - scientific with 3 errors incl unbalanced; error 0
ok 57 - scientific with 3 errors incl unbalanced; error 1-1
ok 58 - scientific with 3 errors incl unbalanced; error 1-2
ok 59 - scientific with 3 errors incl unbalanced; error 2
ok 60 - scientific with 3 errors incl unbalanced; cloning
ok 61 - ; ref not equal after cloning
ok 62 - ; {error} ref not equal after cloning
ok 63 - scientific with 3 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing ->new() with decimal with undef error and 1 error.
ok 64 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 65 - decimal with undef error and 1 error
ok 66 - decimal with undef error and 1 error; number of errors
ok 67 - decimal with undef error and 1 error; error 0
ok 68 - decimal with undef error and 1 error; error 1
ok 69 - decimal with undef error and 1 error; cloning
ok 70 - ; ref not equal after cloning
ok 71 - ; {error} ref not equal after cloning
Testing ->new() with string with 1 error.
ok 72 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 73 - string with 1 error
ok 74 - string with 1 error; number of errors
ok 75 - string with 1 error; error 0
ok 76 - string with 1 error; cloning
ok 77 - ; ref not equal after cloning
ok 78 - ; {error} ref not equal after cloning
Testing ->new() with string with 1 error (2).
ok 79 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 80 - string with 1 error (2)
ok 81 - string with 1 error (2); number of errors
ok 82 - string with 1 error (2); error 0
ok 83 - string with 1 error (2); cloning
ok 84 - ; ref not equal after cloning
ok 85 - ; {error} ref not equal after cloning
Testing ->new() with string with 1 error (3).
ok 86 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 87 - string with 1 error (3)
ok 88 - string with 1 error (3); number of errors
ok 89 - string with 1 error (3); error 0
ok 90 - string with 1 error (3); cloning
ok 91 - ; ref not equal after cloning
ok 92 - ; {error} ref not equal after cloning
Testing ->new() with string with 1 error (4).
ok 93 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 94 - string with 1 error (4)
ok 95 - string with 1 error (4); number of errors
ok 96 - string with 1 error (4); error 0
ok 97 - string with 1 error (4); cloning
ok 98 - ; ref not equal after cloning
ok 99 - ; {error} ref not equal after cloning
Testing ->new() with string with 2 errors.
ok 100 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 101 - string with 2 errors
ok 102 - string with 2 errors; number of errors
ok 103 - string with 2 errors; error 0
ok 104 - string with 2 errors; error 1
ok 105 - string with 2 errors; cloning
ok 106 - ; ref not equal after cloning
ok 107 - ; {error} ref not equal after cloning
Testing ->new() with string with 2 errors incl unbalanced.
ok 108 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 109 - string with 2 errors incl unbalanced
ok 110 - string with 2 errors incl unbalanced; number of errors
ok 111 - string with 2 errors incl unbalanced; error 0
ok 112 - string with 2 errors incl unbalanced; error 1-1
ok 113 - string with 2 errors incl unbalanced; error 1-2
ok 114 - string with 2 errors incl unbalanced; cloning
ok 115 - ; ref not equal after cloning
ok 116 - ; {error} ref not equal after cloning
ok 117 - string with 2 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing ->new() with string with 2 errors incl unbalanced (2).
ok 118 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 119 - string with 2 errors incl unbalanced (2)
ok 120 - string with 2 errors incl unbalanced (2); number of errors
ok 121 - string with 2 errors incl unbalanced (2); error 0
ok 122 - string with 2 errors incl unbalanced (2); error 1-1
ok 123 - string with 2 errors incl unbalanced (2); error 1-2
ok 124 - string with 2 errors incl unbalanced (2); cloning
ok 125 - ; ref not equal after cloning
ok 126 - ; {error} ref not equal after cloning
ok 127 - string with 2 errors incl unbalanced (2); Error no. 1, reference not equal after cloning
Testing ->new() with string with 2 errors incl unbalanced (3).
ok 128 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 129 - string with 2 errors incl unbalanced (3)
ok 130 - string with 2 errors incl unbalanced (3); number of errors
ok 131 - string with 2 errors incl unbalanced (3); error 0
ok 132 - string with 2 errors incl unbalanced (3); error 1-1
ok 133 - string with 2 errors incl unbalanced (3); error 1-2
ok 134 - string with 2 errors incl unbalanced (3); cloning
ok 135 - ; ref not equal after cloning
ok 136 - ; {error} ref not equal after cloning
ok 137 - string with 2 errors incl unbalanced (3); Error no. 1, reference not equal after cloning
Testing witherror() with integer.
ok 138 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 139 - integer
ok 140 - integer; number of errors
ok 141 - integer; cloning
ok 142 - ; ref not equal after cloning
ok 143 - ; {error} ref not equal after cloning
Testing witherror() with decimal.
ok 144 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 145 - decimal
ok 146 - decimal; number of errors
ok 147 - decimal; cloning
ok 148 - ; ref not equal after cloning
ok 149 - ; {error} ref not equal after cloning
Testing witherror() with scientific.
ok 150 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 151 - scientific
ok 152 - scientific; number of errors
ok 153 - scientific; cloning
ok 154 - ; ref not equal after cloning
ok 155 - ; {error} ref not equal after cloning
Testing witherror() with scientific with error.
ok 156 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 157 - scientific with error
ok 158 - scientific with error; number of errors
ok 159 - scientific with error; error 0
ok 160 - scientific with error; cloning
ok 161 - ; ref not equal after cloning
ok 162 - ; {error} ref not equal after cloning
Testing witherror() with integer with 3 errors.
ok 163 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 164 - integer with 3 errors
ok 165 - integer with 3 errors; number of errors
ok 166 - integer with 3 errors; error 0
ok 167 - integer with 3 errors; error 1
ok 168 - integer with 3 errors; error 2
ok 169 - integer with 3 errors; cloning
ok 170 - ; ref not equal after cloning
ok 171 - ; {error} ref not equal after cloning
Testing witherror() with decimal with 4 errors.
ok 172 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 173 - decimal with 4 errors
ok 174 - decimal with 4 errors; number of errors
ok 175 - decimal with 4 errors; error 0
ok 176 - decimal with 4 errors; error 1
ok 177 - decimal with 4 errors; error 2
ok 178 - decimal with 4 errors; error 3
ok 179 - decimal with 4 errors; cloning
ok 180 - ; ref not equal after cloning
ok 181 - ; {error} ref not equal after cloning
Testing witherror() with scientific with 3 errors incl unbalanced.
ok 182 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 183 - scientific with 3 errors incl unbalanced
ok 184 - scientific with 3 errors incl unbalanced; number of errors
ok 185 - scientific with 3 errors incl unbalanced; error 0
ok 186 - scientific with 3 errors incl unbalanced; error 1-1
ok 187 - scientific with 3 errors incl unbalanced; error 1-2
ok 188 - scientific with 3 errors incl unbalanced; error 2
ok 189 - scientific with 3 errors incl unbalanced; cloning
ok 190 - ; ref not equal after cloning
ok 191 - ; {error} ref not equal after cloning
ok 192 - scientific with 3 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing witherror() with decimal with undef error and 1 error.
ok 193 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 194 - decimal with undef error and 1 error
ok 195 - decimal with undef error and 1 error; number of errors
ok 196 - decimal with undef error and 1 error; error 0
ok 197 - decimal with undef error and 1 error; error 1
ok 198 - decimal with undef error and 1 error; cloning
ok 199 - ; ref not equal after cloning
ok 200 - ; {error} ref not equal after cloning
Testing witherror() with string with 1 error.
ok 201 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 202 - string with 1 error
ok 203 - string with 1 error; number of errors
ok 204 - string with 1 error; error 0
ok 205 - string with 1 error; cloning
ok 206 - ; ref not equal after cloning
ok 207 - ; {error} ref not equal after cloning
Testing witherror() with string with 1 error (2).
ok 208 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 209 - string with 1 error (2)
ok 210 - string with 1 error (2); number of errors
ok 211 - string with 1 error (2); error 0
ok 212 - string with 1 error (2); cloning
ok 213 - ; ref not equal after cloning
ok 214 - ; {error} ref not equal after cloning
Testing witherror() with string with 1 error (3).
ok 215 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 216 - string with 1 error (3)
ok 217 - string with 1 error (3); number of errors
ok 218 - string with 1 error (3); error 0
ok 219 - string with 1 error (3); cloning
ok 220 - ; ref not equal after cloning
ok 221 - ; {error} ref not equal after cloning
Testing witherror() with string with 1 error (4).
ok 222 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 223 - string with 1 error (4)
ok 224 - string with 1 error (4); number of errors
ok 225 - string with 1 error (4); error 0
ok 226 - string with 1 error (4); cloning
ok 227 - ; ref not equal after cloning
ok 228 - ; {error} ref not equal after cloning
Testing witherror() with string with 2 errors.
ok 229 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 230 - string with 2 errors
ok 231 - string with 2 errors; number of errors
ok 232 - string with 2 errors; error 0
ok 233 - string with 2 errors; error 1
ok 234 - string with 2 errors; cloning
ok 235 - ; ref not equal after cloning
ok 236 - ; {error} ref not equal after cloning
Testing witherror() with string with 2 errors incl unbalanced.
ok 237 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 238 - string with 2 errors incl unbalanced
ok 239 - string with 2 errors incl unbalanced; number of errors
ok 240 - string with 2 errors incl unbalanced; error 0
ok 241 - string with 2 errors incl unbalanced; error 1-1
ok 242 - string with 2 errors incl unbalanced; error 1-2
ok 243 - string with 2 errors incl unbalanced; cloning
ok 244 - ; ref not equal after cloning
ok 245 - ; {error} ref not equal after cloning
ok 246 - string with 2 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing witherror() with string with 2 errors incl unbalanced (2).
ok 247 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 248 - string with 2 errors incl unbalanced (2)
ok 249 - string with 2 errors incl unbalanced (2); number of errors
ok 250 - string with 2 errors incl unbalanced (2); error 0
ok 251 - string with 2 errors incl unbalanced (2); error 1-1
ok 252 - string with 2 errors incl unbalanced (2); error 1-2
ok 253 - string with 2 errors incl unbalanced (2); cloning
ok 254 - ; ref not equal after cloning
ok 255 - ; {error} ref not equal after cloning
ok 256 - string with 2 errors incl unbalanced (2); Error no. 1, reference not equal after cloning
Testing witherror() with string with 2 errors incl unbalanced (3).
ok 257 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 258 - string with 2 errors incl unbalanced (3)
ok 259 - string with 2 errors incl unbalanced (3); number of errors
ok 260 - string with 2 errors incl unbalanced (3); error 0
ok 261 - string with 2 errors incl unbalanced (3); error 1-1
ok 262 - string with 2 errors incl unbalanced (3); error 1-2
ok 263 - string with 2 errors incl unbalanced (3); cloning
ok 264 - ; ref not equal after cloning
ok 265 - ; {error} ref not equal after cloning
ok 266 - string with 2 errors incl unbalanced (3); Error no. 1, reference not equal after cloning
Testing ->new_big() with integer.
ok 267 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 268 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 269 - integer
ok 270 - integer; number of errors
ok 271 - integer; cloning
ok 272 - ; ref not equal after cloning
ok 273 - ; {error} ref not equal after cloning
Testing ->new_big() with decimal.
ok 274 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 275 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 276 - decimal
ok 277 - decimal; number of errors
ok 278 - decimal; cloning
ok 279 - ; ref not equal after cloning
ok 280 - ; {error} ref not equal after cloning
Testing ->new_big() with scientific.
ok 281 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 282 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 283 - scientific
ok 284 - scientific; number of errors
ok 285 - scientific; cloning
ok 286 - ; ref not equal after cloning
ok 287 - ; {error} ref not equal after cloning
Testing ->new_big() with scientific with error.
ok 288 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 289 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 290 - scientific with error
ok 291 - scientific with error; number of errors
ok 292 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 293 - scientific with error; error 0
ok 294 - scientific with error; cloning
ok 295 - ; ref not equal after cloning
ok 296 - ; {error} ref not equal after cloning
Testing ->new_big() with integer with 3 errors.
ok 297 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 298 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 299 - integer with 3 errors
ok 300 - integer with 3 errors; number of errors
ok 301 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 302 - integer with 3 errors; error 0
ok 303 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 304 - integer with 3 errors; error 1
ok 305 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 306 - integer with 3 errors; error 2
ok 307 - integer with 3 errors; cloning
ok 308 - ; ref not equal after cloning
ok 309 - ; {error} ref not equal after cloning
Testing ->new_big() with decimal with 4 errors.
ok 310 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 311 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 312 - decimal with 4 errors
ok 313 - decimal with 4 errors; number of errors
ok 314 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 315 - decimal with 4 errors; error 0
ok 316 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 317 - decimal with 4 errors; error 1
ok 318 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 319 - decimal with 4 errors; error 2
ok 320 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 321 - decimal with 4 errors; error 3
ok 322 - decimal with 4 errors; cloning
ok 323 - ; ref not equal after cloning
ok 324 - ; {error} ref not equal after cloning
Testing ->new_big() with scientific with 3 errors incl unbalanced.
ok 325 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 326 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 327 - scientific with 3 errors incl unbalanced
ok 328 - scientific with 3 errors incl unbalanced; number of errors
ok 329 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 330 - scientific with 3 errors incl unbalanced; error 0
ok 331 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 332 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 333 - scientific with 3 errors incl unbalanced; error 1-1
ok 334 - scientific with 3 errors incl unbalanced; error 1-2
ok 335 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 336 - scientific with 3 errors incl unbalanced; error 2
ok 337 - scientific with 3 errors incl unbalanced; cloning
ok 338 - ; ref not equal after cloning
ok 339 - ; {error} ref not equal after cloning
ok 340 - scientific with 3 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing ->new_big() with decimal with undef error and 1 error.
ok 341 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 342 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 343 - decimal with undef error and 1 error
ok 344 - decimal with undef error and 1 error; number of errors
ok 345 - decimal with undef error and 1 error; error 0
ok 346 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 347 - decimal with undef error and 1 error; error 1
ok 348 - decimal with undef error and 1 error; cloning
ok 349 - ; ref not equal after cloning
ok 350 - ; {error} ref not equal after cloning
Testing ->new_big() with string with 1 error.
ok 351 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 352 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 353 - string with 1 error
ok 354 - string with 1 error; number of errors
ok 355 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 356 - string with 1 error; error 0
ok 357 - string with 1 error; cloning
ok 358 - ; ref not equal after cloning
ok 359 - ; {error} ref not equal after cloning
Testing ->new_big() with string with 1 error (2).
ok 360 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 361 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 362 - string with 1 error (2)
ok 363 - string with 1 error (2); number of errors
ok 364 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 365 - string with 1 error (2); error 0
ok 366 - string with 1 error (2); cloning
ok 367 - ; ref not equal after cloning
ok 368 - ; {error} ref not equal after cloning
Testing ->new_big() with string with 1 error (3).
ok 369 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 370 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 371 - string with 1 error (3)
ok 372 - string with 1 error (3); number of errors
ok 373 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 374 - string with 1 error (3); error 0
ok 375 - string with 1 error (3); cloning
ok 376 - ; ref not equal after cloning
ok 377 - ; {error} ref not equal after cloning
Testing ->new_big() with string with 1 error (4).
ok 378 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 379 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 380 - string with 1 error (4)
ok 381 - string with 1 error (4); number of errors
ok 382 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 383 - string with 1 error (4); error 0
ok 384 - string with 1 error (4); cloning
ok 385 - ; ref not equal after cloning
ok 386 - ; {error} ref not equal after cloning
Testing ->new_big() with string with 2 errors.
ok 387 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 388 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 389 - string with 2 errors
ok 390 - string with 2 errors; number of errors
ok 391 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 392 - string with 2 errors; error 0
ok 393 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 394 - string with 2 errors; error 1
ok 395 - string with 2 errors; cloning
ok 396 - ; ref not equal after cloning
ok 397 - ; {error} ref not equal after cloning
Testing ->new_big() with string with 2 errors incl unbalanced.
ok 398 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 399 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 400 - string with 2 errors incl unbalanced
ok 401 - string with 2 errors incl unbalanced; number of errors
ok 402 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 403 - string with 2 errors incl unbalanced; error 0
ok 404 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 405 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 406 - string with 2 errors incl unbalanced; error 1-1
ok 407 - string with 2 errors incl unbalanced; error 1-2
ok 408 - string with 2 errors incl unbalanced; cloning
ok 409 - ; ref not equal after cloning
ok 410 - ; {error} ref not equal after cloning
ok 411 - string with 2 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing ->new_big() with string with 2 errors incl unbalanced (2).
ok 412 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 413 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 414 - string with 2 errors incl unbalanced (2)
ok 415 - string with 2 errors incl unbalanced (2); number of errors
ok 416 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 417 - string with 2 errors incl unbalanced (2); error 0
ok 418 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 419 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 420 - string with 2 errors incl unbalanced (2); error 1-1
ok 421 - string with 2 errors incl unbalanced (2); error 1-2
ok 422 - string with 2 errors incl unbalanced (2); cloning
ok 423 - ; ref not equal after cloning
ok 424 - ; {error} ref not equal after cloning
ok 425 - string with 2 errors incl unbalanced (2); Error no. 1, reference not equal after cloning
Testing ->new_big() with string with 2 errors incl unbalanced (3).
ok 426 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 427 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 428 - string with 2 errors incl unbalanced (3)
ok 429 - string with 2 errors incl unbalanced (3); number of errors
ok 430 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 431 - string with 2 errors incl unbalanced (3); error 0
ok 432 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 433 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 434 - string with 2 errors incl unbalanced (3); error 1-1
ok 435 - string with 2 errors incl unbalanced (3); error 1-2
ok 436 - string with 2 errors incl unbalanced (3); cloning
ok 437 - ; ref not equal after cloning
ok 438 - ; {error} ref not equal after cloning
ok 439 - string with 2 errors incl unbalanced (3); Error no. 1, reference not equal after cloning
Testing witherror_big() with integer.
ok 440 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 441 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 442 - integer
ok 443 - integer; number of errors
ok 444 - integer; cloning
ok 445 - ; ref not equal after cloning
ok 446 - ; {error} ref not equal after cloning
Testing witherror_big() with decimal.
ok 447 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 448 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 449 - decimal
ok 450 - decimal; number of errors
ok 451 - decimal; cloning
ok 452 - ; ref not equal after cloning
ok 453 - ; {error} ref not equal after cloning
Testing witherror_big() with scientific.
ok 454 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 455 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 456 - scientific
ok 457 - scientific; number of errors
ok 458 - scientific; cloning
ok 459 - ; ref not equal after cloning
ok 460 - ; {error} ref not equal after cloning
Testing witherror_big() with scientific with error.
ok 461 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 462 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 463 - scientific with error
ok 464 - scientific with error; number of errors
ok 465 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 466 - scientific with error; error 0
ok 467 - scientific with error; cloning
ok 468 - ; ref not equal after cloning
ok 469 - ; {error} ref not equal after cloning
Testing witherror_big() with integer with 3 errors.
ok 470 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 471 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 472 - integer with 3 errors
ok 473 - integer with 3 errors; number of errors
ok 474 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 475 - integer with 3 errors; error 0
ok 476 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 477 - integer with 3 errors; error 1
ok 478 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 479 - integer with 3 errors; error 2
ok 480 - integer with 3 errors; cloning
ok 481 - ; ref not equal after cloning
ok 482 - ; {error} ref not equal after cloning
Testing witherror_big() with decimal with 4 errors.
ok 483 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 484 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 485 - decimal with 4 errors
ok 486 - decimal with 4 errors; number of errors
ok 487 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 488 - decimal with 4 errors; error 0
ok 489 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 490 - decimal with 4 errors; error 1
ok 491 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 492 - decimal with 4 errors; error 2
ok 493 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 494 - decimal with 4 errors; error 3
ok 495 - decimal with 4 errors; cloning
ok 496 - ; ref not equal after cloning
ok 497 - ; {error} ref not equal after cloning
Testing witherror_big() with scientific with 3 errors incl unbalanced.
ok 498 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 499 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 500 - scientific with 3 errors incl unbalanced
ok 501 - scientific with 3 errors incl unbalanced; number of errors
ok 502 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 503 - scientific with 3 errors incl unbalanced; error 0
ok 504 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 505 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 506 - scientific with 3 errors incl unbalanced; error 1-1
ok 507 - scientific with 3 errors incl unbalanced; error 1-2
ok 508 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 509 - scientific with 3 errors incl unbalanced; error 2
ok 510 - scientific with 3 errors incl unbalanced; cloning
ok 511 - ; ref not equal after cloning
ok 512 - ; {error} ref not equal after cloning
ok 513 - scientific with 3 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing witherror_big() with decimal with undef error and 1 error.
ok 514 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 515 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 516 - decimal with undef error and 1 error
ok 517 - decimal with undef error and 1 error; number of errors
ok 518 - decimal with undef error and 1 error; error 0
ok 519 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 520 - decimal with undef error and 1 error; error 1
ok 521 - decimal with undef error and 1 error; cloning
ok 522 - ; ref not equal after cloning
ok 523 - ; {error} ref not equal after cloning
Testing witherror_big() with string with 1 error.
ok 524 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 525 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 526 - string with 1 error
ok 527 - string with 1 error; number of errors
ok 528 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 529 - string with 1 error; error 0
ok 530 - string with 1 error; cloning
ok 531 - ; ref not equal after cloning
ok 532 - ; {error} ref not equal after cloning
Testing witherror_big() with string with 1 error (2).
ok 533 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 534 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 535 - string with 1 error (2)
ok 536 - string with 1 error (2); number of errors
ok 537 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 538 - string with 1 error (2); error 0
ok 539 - string with 1 error (2); cloning
ok 540 - ; ref not equal after cloning
ok 541 - ; {error} ref not equal after cloning
Testing witherror_big() with string with 1 error (3).
ok 542 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 543 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 544 - string with 1 error (3)
ok 545 - string with 1 error (3); number of errors
ok 546 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 547 - string with 1 error (3); error 0
ok 548 - string with 1 error (3); cloning
ok 549 - ; ref not equal after cloning
ok 550 - ; {error} ref not equal after cloning
Testing witherror_big() with string with 1 error (4).
ok 551 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 552 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 553 - string with 1 error (4)
ok 554 - string with 1 error (4); number of errors
ok 555 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 556 - string with 1 error (4); error 0
ok 557 - string with 1 error (4); cloning
ok 558 - ; ref not equal after cloning
ok 559 - ; {error} ref not equal after cloning
Testing witherror_big() with string with 2 errors.
ok 560 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 561 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 562 - string with 2 errors
ok 563 - string with 2 errors; number of errors
ok 564 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 565 - string with 2 errors; error 0
ok 566 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 567 - string with 2 errors; error 1
ok 568 - string with 2 errors; cloning
ok 569 - ; ref not equal after cloning
ok 570 - ; {error} ref not equal after cloning
Testing witherror_big() with string with 2 errors incl unbalanced.
ok 571 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 572 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 573 - string with 2 errors incl unbalanced
ok 574 - string with 2 errors incl unbalanced; number of errors
ok 575 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 576 - string with 2 errors incl unbalanced; error 0
ok 577 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 578 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 579 - string with 2 errors incl unbalanced; error 1-1
ok 580 - string with 2 errors incl unbalanced; error 1-2
ok 581 - string with 2 errors incl unbalanced; cloning
ok 582 - ; ref not equal after cloning
ok 583 - ; {error} ref not equal after cloning
ok 584 - string with 2 errors incl unbalanced; Error no. 1, reference not equal after cloning
Testing witherror_big() with string with 2 errors incl unbalanced (2).
ok 585 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 586 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 587 - string with 2 errors incl unbalanced (2)
ok 588 - string with 2 errors incl unbalanced (2); number of errors
ok 589 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 590 - string with 2 errors incl unbalanced (2); error 0
ok 591 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 592 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 593 - string with 2 errors incl unbalanced (2); error 1-1
ok 594 - string with 2 errors incl unbalanced (2); error 1-2
ok 595 - string with 2 errors incl unbalanced (2); cloning
ok 596 - ; ref not equal after cloning
ok 597 - ; {error} ref not equal after cloning
ok 598 - string with 2 errors incl unbalanced (2); Error no. 1, reference not equal after cloning
Testing witherror_big() with string with 2 errors incl unbalanced (3).
ok 599 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 600 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 601 - string with 2 errors incl unbalanced (3)
ok 602 - string with 2 errors incl unbalanced (3); number of errors
ok 603 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 604 - string with 2 errors incl unbalanced (3); error 0
ok 605 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 606 - An object of class 'Math::BigFloat' isa 'Math::BigFloat'
ok 607 - string with 2 errors incl unbalanced (3); error 1-1
ok 608 - string with 2 errors incl unbalanced (3); error 1-2
ok 609 - string with 2 errors incl unbalanced (3); cloning
ok 610 - ; ref not equal after cloning
ok 611 - ; {error} ref not equal after cloning
ok 612 - string with 2 errors incl unbalanced (3); Error no. 1, reference not equal after cloning
ok
t/03round.t ........
1..132
ok 1 - Number '6555070.45039773' is rounded to the correct format (result: 6.55507045e+006)
ok 2
ok 3
ok 4 - Number '65795926.2302157' is rounded to the correct format (result: 6.58e+007)
ok 5
ok 6
ok 7 - Number '0.19100942843788' is rounded to the correct format (result: 1.91e-001)
ok 8
ok 9
ok 10 - Number '1234.19100942844' is rounded to the correct format (result: 1.234191e+003)
ok 11
ok 12
ok 13 - Number '1234.19100942844' is rounded to the correct format (result: 1.234e+003)
ok 14
ok 15
ok 16 - Number '1.234942843788' is rounded to the correct format (result: 1e+000)
ok 17
ok 18
ok 19 - Number '1.234942843788' is rounded to the correct format (result: 0e3)
ok 20
ok 21
ok 22 - Number '0.0005234942843788' is rounded to the correct format (result: 0e-1)
ok 23
ok 24
ok 25 - Number '0.0005234942843788' is rounded to the correct format (result: 1e-3)
ok 26
ok 27
ok 28 - Number '523.4942843788' is rounded to the correct format (result: 1e3)
ok 29
ok 30
ok 31 - Number '523.4942843788' is rounded to the correct format (result: 5e+002)
ok 32
ok 33
ok 34 - Number '-6555070.45039773' is rounded to the correct format (result: -6.55507045e+006)
ok 35
ok 36
ok 37 - Number '-65795926.2302157' is rounded to the correct format (result: -6.58e+007)
ok 38
ok 39
ok 40 - Number '-0.19100942843788' is rounded to the correct format (result: -1.91e-001)
ok 41
ok 42
ok 43 - Number '-1234.19100942844' is rounded to the correct format (result: -1.234191e+003)
ok 44
ok 45
ok 46 - Number '-1234.19100942844' is rounded to the correct format (result: -1.234e+003)
ok 47
ok 48
ok 49 - Number '-1.234942843788' is rounded to the correct format (result: -1e+000)
ok 50
ok 51
ok 52 - Number '-1.234942843788' is rounded to the correct format (result: 0e3)
ok 53
ok 54
ok 55 - Number '-0.0005234942843788' is rounded to the correct format (result: 0e-1)
ok 56
ok 57
ok 58 - Number '-0.0005234942843788' is rounded to the correct format (result: -1e-3)
ok 59
ok 60
ok 61 - Number '-523.4942843788' is rounded to the correct format (result: -1e3)
ok 62
ok 63
ok 64 - Number '-523.4942843788' is rounded to the correct format (result: -5e+002)
ok 65
ok 66
ok 67 - Number '6555070.45039773' is rounded to the correct format (result: 6.55507045e+006)
ok 68
ok 69
ok 70 - Number '65795926.2302157' is rounded to the correct format (result: 6.58e+007)
ok 71
ok 72
ok 73 - Number '0.19100942843788' is rounded to the correct format (result: 1.91e-001)
ok 74
ok 75
ok 76 - Number '1234.19100942844' is rounded to the correct format (result: 1.234191e+003)
ok 77
ok 78
ok 79 - Number '1234.19100942844' is rounded to the correct format (result: 1.234e+003)
ok 80
ok 81
ok 82 - Number '1.234942843788' is rounded to the correct format (result: 1e+000)
ok 83
ok 84
ok 85 - Number '1.234942843788' is rounded to the correct format (result: 0e3)
ok 86
ok 87
ok 88 - Number '0.0005234942843788' is rounded to the correct format (result: 0e-1)
ok 89
ok 90
ok 91 - Number '0.0005234942843788' is rounded to the correct format (result: 1e-3)
ok 92
ok 93
ok 94 - Number '523.4942843788' is rounded to the correct format (result: 1e3)
ok 95
ok 96
ok 97 - Number '523.4942843788' is rounded to the correct format (result: 5e+002)
ok 98
ok 99
ok 100 - Number '-6555070.45039773' is rounded to the correct format (result: -6.55507045e+006)
ok 101
ok 102
ok 103 - Number '-65795926.2302157' is rounded to the correct format (result: -6.58e+007)
ok 104
ok 105
ok 106 - Number '-0.19100942843788' is rounded to the correct format (result: -1.91e-001)
ok 107
ok 108
ok 109 - Number '-1234.19100942844' is rounded to the correct format (result: -1.234191e+003)
ok 110
ok 111
ok 112 - Number '-1234.19100942844' is rounded to the correct format (result: -1.234e+003)
ok 113
ok 114
ok 115 - Number '-1.234942843788' is rounded to the correct format (result: -1e+000)
ok 116
ok 117
ok 118 - Number '-1.234942843788' is rounded to the correct format (result: 0e3)
ok 119
ok 120
ok 121 - Number '-0.0005234942843788' is rounded to the correct format (result: 0e-1)
ok 122
ok 123
ok 124 - Number '-0.0005234942843788' is rounded to the correct format (result: -1e-3)
ok 125
ok 126
ok 127 - Number '-523.4942843788' is rounded to the correct format (result: -1e3)
ok 128
ok 129
ok 130 - Number '-523.4942843788' is rounded to the correct format (result: -5e+002)
ok 131
ok 132
ok
t/04arith.t ........
1..15
ok 1 - 'add() method' (101 attempts)
ok 2 - 'overload: +' (101 attempts)
ok 3 - 'overload: +, number' (101 attempts)
ok 4 - 'subtract() method' (100 attempts)
ok 5 - 'overload: -' (100 attempts)
ok 6 - 'overload: -, number' (100 attempts)
ok 7 - 'multiply() method' (100 attempts)
ok 8 - 'overload: *' (100 attempts)
ok 9 - 'overload: *, number' (100 attempts)
ok 10 - 'divide() method' (100 attempts)
ok 11 - 'overload: /' (100 attempts)
ok 12 - 'overload: /, number' (100 attempts)
ok 13 - 'exponentiate() method' (100 attempts)
ok 14 - 'overload: **' (100 attempts)
ok 15 - 'overload: **, number' (100 attempts)
ok
t/05functions.t ....
1..11
ok 1 - 'sqrt() method' (100 attempts)
ok 2 - 'overload: sqrt' (100 attempts)
ok 3 - 'log() method' (100 attempts)
ok 4 - 'overload: log' (100 attempts)
ok 5 - 'sin() method' (100 attempts)
ok 6 - 'overload: sin' (100 attempts)
ok 7 - 'cos() method' (100 attempts)
ok 8 - 'overload: cos' (100 attempts)
ok 9 - 'tan() method' (101 attempts)
ok 10 - 'abs() method' (100 attempts)
ok 11 - 'overload: abs' (100 attempts)
ok
t/06err.t ..........
1..48
ok 1 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 2
ok 3
ok 4 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 5
ok 6
ok 7 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 8
ok 9
ok 10 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 11
ok 12
ok 13 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 14
ok 15
ok 16 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 17
ok 18
ok 19 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 20
ok 21
ok 22 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 23
ok 24
ok 25 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 26
ok 27
ok 28 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 29
ok 30
ok 31 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 32
ok 33
ok 34 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 35
ok 36
ok 37 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 38
ok 39
ok 40 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 41
ok 42
ok 43 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 44
ok 45
ok 46 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 47
ok 48
ok
t/07asarray.t ......
1..64
ok 1 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 2
ok 3
ok 4
ok 5 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 6
ok 7
ok 8
ok 9 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 10
ok 11
ok 12
ok 13 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 14
ok 15
ok 16
ok 17 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 18
ok 19
ok 20
ok 21 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 22
ok 23
ok 24
ok 25 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 26
ok 27
ok 28
ok 29 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 30
ok 31
ok 32
ok 33 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 34
ok 35
ok 36
ok 37 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 38
ok 39
ok 40
ok 41 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 42
ok 43
ok 44
ok 45 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 46
ok 47
ok 48
ok 49 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 50
ok 51
ok 52
ok 53 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 54
ok 55
ok 56
ok 57 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 58
ok 59
ok 60
ok 61 - An object of class 'Number::WithError' isa 'Number::WithError'
ok 62
ok 63
ok 64
ok
All tests successful.
Files=9, Tests=894, 4 wallclock secs ( 0.16 usr + 0.05 sys = 0.20 CPU)
Result: PASS
SMUELLER/Number-WithError-1.01.tar.gz
dmake test TEST_VERBOSE=1 -- OK
Steffen Mueller <smueller@cpan.org>
Numbers with error propagation and scientific rounding
>>> (cd C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8 && tar cvf - Number-WithError-1.01.ppd blib) | gzip -c >C:/cpanfly-5.20/var/REPO/S/SM/SMUELLER/Number-WithError-1.01.tar.gz
Number-WithError-1.01.ppd
blib/
blib/lib/
blib/lib/Number/
blib/lib/Number/WithError.pm
>>> mv C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/Number-WithError-1.01.ppd C:/cpanfly-5.20/var/REPO/S/SM/SMUELLER
Running make for S/SM/SMUELLER/Dumbbench-0.09.tar.gz
Prepending C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/blib/arch C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/blib/lib C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/arch C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/lib C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory C:\cpanfly-5.20\var\cpan\build\Dumbbench-0.09-EbXZSD
Prepending C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/blib/arch C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/blib/lib C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/arch C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/lib C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'make'
CPAN.pm: Building S/SM/SMUELLER/Dumbbench-0.09.tar.gz
>>> dmake
cp lib/Dumbbench/Instance/PerlEval.pm blib\lib\Dumbbench\Instance\PerlEval.pm
cp lib/Dumbbench/Stats.pm blib\lib\Dumbbench\Stats.pm
cp lib/Dumbbench/BoxPlot.pm blib\lib\Dumbbench\BoxPlot.pm
cp lib/Benchmark/Dumb.pm blib\lib\Benchmark\Dumb.pm
cp lib/Dumbbench/CPUFrequencyPinner.pm blib\lib\Dumbbench\CPUFrequencyPinner.pm
cp lib/Dumbbench/Instance/Cmd.pm blib\lib\Dumbbench\Instance\Cmd.pm
cp lib/Dumbbench/Result.pm blib\lib\Dumbbench\Result.pm
cp lib/Dumbbench/Instance/PerlSub.pm blib\lib\Dumbbench\Instance\PerlSub.pm
cp lib/Dumbbench/Instance.pm blib\lib\Dumbbench\Instance.pm
cp lib/Dumbbench.pm blib\lib\Dumbbench.pm
C:\Perl-5.20\bin\perl.exe -MExtUtils::Command -e cp -- bin/dumbbench blib\script\dumbbench
pl2bat.bat blib\script\dumbbench
SMUELLER/Dumbbench-0.09.tar.gz
dmake -- OK
Prepending C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/blib/arch C:\cpanfly-5.20\var\cpan\build\Number-WithError-1.01-gIilO8/blib/lib C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/arch C:\cpanfly-5.20\var\cpan\build\Test-LectroTest-0.5001-N3UC_X/blib/lib C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/arch C:\cpanfly-5.20\var\cpan\build\Statistics-CaseResampling-0.15-4NJy4e/blib/lib to PERL5LIB for 'test'
Running make test
>>> dmake test TEST_VERBOSE=1
C:\Perl-5.20\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t
t/000_load.t ...
1..2
ok 1 - use Dumbbench;
ok 2 - use Benchmark::Dumb;
ok
t/010_stats.t ..
1..21
ok 1 - An object of class 'Dumbbench::Stats' isa 'Dumbbench::Stats'
ok 2
ok 3 - Test from main:t/010_stats.t:13
ok 4 - Test from main:t/010_stats.t:14
ok 5 - Test from main:t/010_stats.t:17
ok 6 - Test from main:t/010_stats.t:18
ok 7 - Test from main:t/010_stats.t:22
not ok 8 - Test from main:t/010_stats.t:25 # TODO OBIWAN: likely just a matter of choosing rounding up or down?
# Failed (TODO) test 'Test from main:t/010_stats.t:25'
# at t/010_stats.t line 83.
not ok 9 - Test from main:t/010_stats.t:26 # TODO OBIWAN: likely just a matter of choosing rounding up or down?
# Failed (TODO) test 'Test from main:t/010_stats.t:26'
# at t/010_stats.t line 83.
ok 10 - Test from main:t/010_stats.t:31
not ok 11 - Test from main:t/010_stats.t:34 # TODO OBIWAN: likely just a matter of choosing rounding up or down?
# Failed (TODO) test 'Test from main:t/010_stats.t:34'
# at t/010_stats.t line 83.
not ok 12 - Test from main:t/010_stats.t:35 # TODO OBIWAN: likely just a matter of choosing rounding up or down?
# Failed (TODO) test 'Test from main:t/010_stats.t:35'
# at t/010_stats.t line 83.
ok 13 - Test from main:t/010_stats.t:43
ok 14 - Test from main:t/010_stats.t:48
ok 15 - Test from main:t/010_stats.t:49
ok 16 # skip Skipping extra tests since SOOT is not available
ok 17 # skip Skipping extra tests since SOOT is not available
ok 18 # skip Skipping extra tests since SOOT is not available
ok 19 # skip Skipping extra tests since SOOT is not available
ok 20 # skip Skipping extra tests since SOOT is not available
ok 21 # skip Skipping extra tests since SOOT is not available
ok
t/100_bdumb.t ..
1..27
ok 1 - timeit has no output
ok 2 - low count warns about precision
ok 3 - An object of class 'Benchmark::Dumb' isa 'Benchmark::Dumb'
ok 4 - Benchmark::Dumb->can('timesum')
ok 5 - Benchmark::Dumb->can('timediff')
ok 6 - Benchmark::Dumb->can('timestr')
ok 7 - Benchmark::Dumb->can('name')
ok 8
ok 9 - An object of class 'Benchmark::Dumb' isa 'Benchmark::Dumb'
ok 10
ok 11
ok 12
ok 13
ok 14 - An object of class 'Benchmark::Dumb' isa 'Benchmark::Dumb'
ok 15
ok 16
ok 17
ok 18
ok 19 - timethis prints a timestr
ok 20 - low count warns about precision
ok 21 - two benchmarks run
ok 22
ok 23
ok 24 - returns hashref
ok 25 - two results
ok 26 - An object of class 'Benchmark::Dumb' isa 'Benchmark::Dumb'
ok 27 - An object of class 'Benchmark::Dumb' isa 'Benchmark::Dumb'
ok
All tests successful.
Files=3, Tests=50, 1 wallclock secs ( 0.05 usr + 0.05 sys = 0.09 CPU)
Result: PASS
SMUELLER/Dumbbench-0.09.tar.gz
dmake test TEST_VERBOSE=1 -- OK
Steffen Mueller <smueller@cpan.org>
More reliable benchmarking with the least amount of thinking
>>> (cd C:\cpanfly-5.20\var\cpan\build\Dumbbench-0.09-EbXZSD && tar cvf - Dumbbench-0.09.ppd blib) | gzip -c >C:/cpanfly-5.20/var/REPO/S/SM/SMUELLER/Dumbbench-0.09.tar.gz
Dumbbench-0.09.ppd
blib/
blib/lib/
blib/lib/Benchmark/
blib/lib/Benchmark/Dumb.pm
blib/lib/Dumbbench/
blib/lib/Dumbbench/BoxPlot.pm
blib/lib/Dumbbench/CPUFrequencyPinner.pm
blib/lib/Dumbbench/Instance/
blib/lib/Dumbbench/Instance/Cmd.pm
blib/lib/Dumbbench/Instance/PerlEval.pm
blib/lib/Dumbbench/Instance/PerlSub.pm
blib/lib/Dumbbench/Instance.pm
blib/lib/Dumbbench/Result.pm
blib/lib/Dumbbench/Stats.pm
blib/lib/Dumbbench.pm
blib/script/
blib/script/dumbbench
blib/script/dumbbench.bat
>>> mv C:\cpanfly-5.20\var\cpan\build\Dumbbench-0.09-EbXZSD/Dumbbench-0.09.ppd C:/cpanfly-5.20/var/REPO/S/SM/SMUELLER
Finished 2014-09-28T19:07:17