Apache Commons logo Apache Commons Numbers

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
19 0 0 0 100% 0.068 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.numbers.primes 19 0 0 0 100% 0.068 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.numbers.primes

- Class Tests Errors Failures Skipped Success Rate Time
PrimesTest 3 0 0 0 100% 0.056 s
SmallPrimesTest 15 0 0 0 100% 0.010 s
UserGuideTest 1 0 0 0 100% 0.002 s

Test Cases

[Summary] [Package List] [Test Cases]

PrimesTest

testPrimeFactors 0.025 s
testIsPrime 0.004 s
testNextPrime 0.006 s

SmallPrimesTest

trialDivision_smallComposite 0.001 s
smallTrialDivision_smallComposite 0 s
millerRabinPrimeTest_composites 0 s
smallTrialDivision_repeatedFactors 0 s
smallTrialDivision_oneFactor 0.001 s
trialDivision_veryLargeComposite 0 s
trialDivision_largeComposite 0.001 s
millerRabinPrimeTest_primes 0.001 s
smallTrialDivision_noSmallPrimeFactors 0 s
trialDivision_oneSmallFactor 0.001 s
trialDivision_repeatedFactors 0 s
smallTrialDivision_largeComposite 0 s
boundedTrialDivision_twoDifferentFactors 0 s
smallTrialDivision_BoundaryPrimes 0 s
boundedTrialDivision_square 0 s

UserGuideTest

testPrimes1 0.001 s