Apache Commons logo Apache Commons Numbers

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
388 0 0 0 100% 0.510 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.combinatorics 388 0 0 0 100% 0.510 s

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

org.apache.commons.numbers.combinatorics

- Class Tests Errors Failures Skipped Success Rate Time
StirlingTest 219 0 0 0 100% 0.123 s
LogBinomialCoefficientTest 56 0 0 0 100% 0.045 s
FactorialDoubleTest 3 0 0 0 100% 0.002 s
BinomialCoefficientDoubleTest 46 0 0 0 100% 0.138 s
FactorialTest 6 0 0 0 100% 0.002 s
BinomialCoefficientTest 27 0 0 0 100% 0.128 s
CombinationsTest 16 0 0 0 100% 0.022 s
UserGuideTest 6 0 0 0 100% 0.003 s
LogFactorialTest 9 0 0 0 100% 0.047 s

Test Cases

[Summary] [Package List] [Test Cases]

StirlingTest

testStirlingS2Overflow(int, int)[1] 0.002 s
testStirlingS2Overflow(int, int)[2] 0 s
testStirlingS2Overflow(int, int)[3] 0.001 s
testStirlingS2Overflow(int, int)[4] 0 s
testStirlingS2Overflow(int, int)[5] 0 s
testStirlingS2Overflow(int, int)[6] 0.001 s
testStirlingS2Overflow(int, int)[7] 0 s
testStirlingS2Overflow(int, int)[8] 0.002 s
testStirlingS2Overflow(int, int)[9] 0.001 s
testStirlingS2Overflow(int, int)[10] 0.001 s
testStirlingS1(int, int, long)[1] 0.001 s
testStirlingS1(int, int, long)[2] 0 s
testStirlingS1(int, int, long)[3] 0 s
testStirlingS1(int, int, long)[4] 0 s
testStirlingS1(int, int, long)[5] 0.002 s
testStirlingS1(int, int, long)[6] 0 s
testStirlingS1(int, int, long)[7] 0 s
testStirlingS1(int, int, long)[8] 0.001 s
testStirlingS1(int, int, long)[9] 0 s
testStirlingS1(int, int, long)[10] 0 s
testStirlingS1(int, int, long)[11] 0.001 s
testStirlingS1(int, int, long)[12] 0 s
testStirlingS1(int, int, long)[13] 0 s
testStirlingS1(int, int, long)[14] 0.001 s
testStirlingS1(int, int, long)[15] 0 s
testStirlingS1(int, int, long)[16] 0.001 s
testStirlingS1(int, int, long)[17] 0.001 s
testStirlingS1(int, int, long)[18] 0 s
testStirlingS1(int, int, long)[19] 0.001 s
testStirlingS1(int, int, long)[20] 0 s
testStirlingS1(int, int, long)[21] 0 s
testStirlingS1(int, int, long)[22] 0 s
testStirlingS1(int, int, long)[23] 0 s
testStirlingS1(int, int, long)[24] 0 s
testStirlingS1(int, int, long)[25] 0 s
testStirlingS1(int, int, long)[26] 0 s
testStirlingS1(int, int, long)[27] 0 s
testStirlingS1(int, int, long)[28] 0 s
testStirlingS1(int, int, long)[29] 0 s
testStirlingS1(int, int, long)[30] 0 s
testStirlingS1(int, int, long)[31] 0 s
testStirlingS1(int, int, long)[32] 0 s
testStirlingS1(int, int, long)[33] 0 s
testStirlingS1(int, int, long)[34] 0 s
testStirlingS1(int, int, long)[35] 0.001 s
testStirlingS1(int, int, long)[36] 0.001 s
testStirlingS1(int, int, long)[37] 0 s
testStirlingS1(int, int, long)[38] 0.001 s
testStirlingS1(int, int, long)[39] 0 s
testStirlingS1(int, int, long)[40] 0 s
testStirlingS1(int, int, long)[41] 0 s
testStirlingS1(int, int, long)[42] 0.001 s
testStirlingS1(int, int, long)[43] 0 s
testStirlingS1(int, int, long)[44] 0 s
testStirlingS1(int, int, long)[45] 0 s
testStirlingS1(int, int, long)[46] 0 s
testStirlingS1(int, int, long)[47] 0 s
testStirlingS1(int, int, long)[48] 0 s
testStirlingS1(int, int, long)[49] 0.001 s
testStirlingS1(int, int, long)[50] 0 s
testStirlingS1(int, int, long)[51] 0 s
testStirlingS1(int, int, long)[52] 0.001 s
testStirlingS1(int, int, long)[53] 0 s
testStirlingS1(int, int, long)[54] 0 s
testStirlingS1(int, int, long)[55] 0 s
testStirlingS1(int, int, long)[56] 0 s
testStirlingS1(int, int, long)[57] 0 s
testStirlingS1(int, int, long)[58] 0 s
testStirlingS1(int, int, long)[59] 0 s
testStirlingS1(int, int, long)[60] 0.001 s
testStirlingS1(int, int, long)[61] 0 s
testStirlingS1(int, int, long)[62] 0 s
testStirlingS1(int, int, long)[63] 0 s
testStirlingS2(int, int, long)[1] 0 s
testStirlingS2(int, int, long)[2] 0 s
testStirlingS2(int, int, long)[3] 0.001 s
testStirlingS2(int, int, long)[4] 0 s
testStirlingS2(int, int, long)[5] 0 s
testStirlingS2(int, int, long)[6] 0 s
testStirlingS2(int, int, long)[7] 0 s
testStirlingS2(int, int, long)[8] 0 s
testStirlingS2(int, int, long)[9] 0 s
testStirlingS2(int, int, long)[10] 0 s
testStirlingS2(int, int, long)[11] 0 s
testStirlingS2(int, int, long)[12] 0 s
testStirlingS2(int, int, long)[13] 0.001 s
testStirlingS2(int, int, long)[14] 0 s
testStirlingS2(int, int, long)[15] 0 s
testStirlingS2(int, int, long)[16] 0.001 s
testStirlingS2(int, int, long)[17] 0 s
testStirlingS2(int, int, long)[18] 0 s
testStirlingS2(int, int, long)[19] 0.001 s
testStirlingS2(int, int, long)[20] 0 s
testStirlingS2(int, int, long)[21] 0 s
testStirlingS2(int, int, long)[22] 0 s
testStirlingS2(int, int, long)[23] 0 s
testStirlingS2(int, int, long)[24] 0 s
testStirlingS2(int, int, long)[25] 0.001 s
testStirlingS2(int, int, long)[26] 0 s
testStirlingS2(int, int, long)[27] 0 s
testStirlingS2(int, int, long)[28] 0 s
testStirlingS2(int, int, long)[29] 0 s
testStirlingS2(int, int, long)[30] 0 s
testStirlingS2(int, int, long)[31] 0.001 s
testStirlingS2(int, int, long)[32] 0 s
testStirlingS2(int, int, long)[33] 0 s
testStirlingS2(int, int, long)[34] 0.002 s
testStirlingS2(int, int, long)[35] 0.001 s
testStirlingS2(int, int, long)[36] 0 s
testStirlingS2(int, int, long)[37] 0 s
testStirlingS2(int, int, long)[38] 0 s
testStirlingS2(int, int, long)[39] 0 s
testStirlingS2(int, int, long)[40] 0 s
testStirlingS2(int, int, long)[41] 0 s
testStirlingS2(int, int, long)[42] 0 s
testStirlingS2(int, int, long)[43] 0 s
testStirlingS2(int, int, long)[44] 0.001 s
testStirlingS2(int, int, long)[45] 0 s
testStirlingS2(int, int, long)[46] 0 s
testStirlingS2(int, int, long)[47] 0 s
testStirlingS2(int, int, long)[48] 0.001 s
testStirlingS2(int, int, long)[49] 0 s
testStirlingS2(int, int, long)[50] 0 s
testStirlingS2(int, int, long)[51] 0 s
testStirlingS2(int, int, long)[52] 0.001 s
testStirlingS2(int, int, long)[53] 0 s
testStirlingS2(int, int, long)[54] 0 s
testStirlingS2(int, int, long)[55] 0 s
testStirlingS2(int, int, long)[56] 0.001 s
testStirlingS2(int, int, long)[57] 0 s
testStirlingS2(int, int, long)[58] 0 s
testStirlingS2(int, int, long)[59] 0 s
testStirlingS2(int, int, long)[60] 0 s
testStirlingS1LimitsN(int, int, long)[1] 0 s
testStirlingS1LimitsN(int, int, long)[2] 0 s
testStirlingS1LimitsN(int, int, long)[3] 0 s
testStirlingS1LimitsN(int, int, long)[4] 0 s
testStirlingS1LimitsN(int, int, long)[5] 0 s
testStirlingS1LimitsN(int, int, long)[6] 0 s
testStirlingS1LimitsN(int, int, long)[7] 0 s
testStirlingS1LimitsN(int, int, long)[8] 0 s
testStirlingS1LimitsN(int, int, long)[9] 0.001 s
testStirlingS1LimitsN(int, int, long)[10] 0 s
testStirlingS1LimitsN(int, int, long)[11] 0 s
testStirlingS1LimitsN(int, int, long)[12] 0 s
testStirlingS1LimitsN(int, int, long)[13] 0 s
testStirlingS1LimitsN(int, int, long)[14] 0 s
testStirlingS1LimitsN(int, int, long)[15] 0 s
testStirlingS1LimitsN(int, int, long)[16] 0 s
testStirlingS1LimitsN(int, int, long)[17] 0 s
testStirlingS1LimitsN(int, int, long)[18] 0.001 s
testStirlingS1LimitsN(int, int, long)[19] 0 s
testStirlingS1LimitsN(int, int, long)[20] 0 s
testStirlingS1LimitsN(int, int, long)[21] 0 s
testStirlingS1LimitsN(int, int, long)[22] 0.002 s
testStirlingS1LimitsN(int, int, long)[23] 0.004 s
testStirlingS1LimitsN(int, int, long)[24] 0.004 s
testStirlingS1LimitsN(int, int, long)[25] 0.002 s
testStirlingS1LimitsN(int, int, long)[26] 0.001 s
testStirlingS1LimitsN(int, int, long)[27] 0 s
testStirlingS1LimitsN(int, int, long)[28] 0.001 s
testStirlingS2IllegalArgument(int, int)[1] 0 s
testStirlingS2IllegalArgument(int, int)[2] 0 s
testStirlingS2IllegalArgument(int, int)[3] 0 s
testStirlingS2IllegalArgument(int, int)[4] 0 s
testStirlingS2IllegalArgument(int, int)[5] 0 s
testStirlingS2IllegalArgument(int, int)[6] 0 s
testStirlingS2IllegalArgument(int, int)[7] 0 s
testStirlingS2IllegalArgument(int, int)[8] 0 s
testStirlingS1Overflow(int, int)[1] 0.001 s
testStirlingS1Overflow(int, int)[2] 0 s
testStirlingS1Overflow(int, int)[3] 0 s
testStirlingS1Overflow(int, int)[4] 0 s
testStirlingS1Overflow(int, int)[5] 0.001 s
testStirlingS1Overflow(int, int)[6] 0 s
testStirlingS1Overflow(int, int)[7] 0 s
testStirlingS1Overflow(int, int)[8] 0.001 s
testStirlingS1Overflow(int, int)[9] 0 s
testStirlingS1Overflow(int, int)[10] 0 s
testStirlingS1IllegalArgument(int, int)[1] 0 s
testStirlingS1IllegalArgument(int, int)[2] 0 s
testStirlingS1IllegalArgument(int, int)[3] 0 s
testStirlingS1IllegalArgument(int, int)[4] 0 s
testStirlingS1IllegalArgument(int, int)[5] 0 s
testStirlingS1IllegalArgument(int, int)[6] 0 s
testStirlingS1IllegalArgument(int, int)[7] 0 s
testStirlingS1IllegalArgument(int, int)[8] 0 s
testStirlingS2LimitsN(int, int, long)[1] 0 s
testStirlingS2LimitsN(int, int, long)[2] 0 s
testStirlingS2LimitsN(int, int, long)[3] 0.001 s
testStirlingS2LimitsN(int, int, long)[4] 0 s
testStirlingS2LimitsN(int, int, long)[5] 0 s
testStirlingS2LimitsN(int, int, long)[6] 0 s
testStirlingS2LimitsN(int, int, long)[7] 0 s
testStirlingS2LimitsN(int, int, long)[8] 0 s
testStirlingS2LimitsN(int, int, long)[9] 0.001 s
testStirlingS2LimitsN(int, int, long)[10] 0 s
testStirlingS2LimitsN(int, int, long)[11] 0 s
testStirlingS2LimitsN(int, int, long)[12] 0.001 s
testStirlingS2LimitsN(int, int, long)[13] 0 s
testStirlingS2LimitsN(int, int, long)[14] 0 s
testStirlingS2LimitsN(int, int, long)[15] 0.001 s
testStirlingS2LimitsN(int, int, long)[16] 0 s
testStirlingS2LimitsN(int, int, long)[17] 0.001 s
testStirlingS2LimitsN(int, int, long)[18] 0 s
testStirlingS2LimitsN(int, int, long)[19] 0 s
testStirlingS2LimitsN(int, int, long)[20] 0 s
testStirlingS2LimitsN(int, int, long)[21] 0 s
testStirlingS2LimitsN(int, int, long)[22] 0 s
testStirlingS2LimitsN(int, int, long)[23] 0.001 s
testStirlingS2LimitsN(int, int, long)[24] 0.001 s
testStirlingS2LimitsN(int, int, long)[25] 0.003 s
testStirlingS2LimitsN(int, int, long)[26] 0.003 s
testStirlingS2LimitsN(int, int, long)[27] 0.001 s
testStirlingS2LimitsN(int, int, long)[28] 0.001 s
testStirlingS2LimitsN(int, int, long)[29] 0 s
testStirlingS2LimitsN(int, int, long)[30] 0 s
testStirlingS2StandardCases 0 s
testStirlingS1StandardCases 0 s

LogBinomialCoefficientTest

testBinomialCoefficient(int, int, double, int)[1] 0.001 s
testBinomialCoefficient(int, int, double, int)[2] 0 s
testBinomialCoefficient(int, int, double, int)[3] 0 s
testBinomialCoefficient(int, int, double, int)[4] 0 s
testBinomialCoefficient(int, int, double, int)[5] 0 s
testBinomialCoefficient(int, int, double, int)[6] 0.001 s
testBinomialCoefficient(int, int, double, int)[7] 0 s
testBinomialCoefficient(int, int, double, int)[8] 0.001 s
testBinomialCoefficient(int, int, double, int)[9] 0 s
testBinomialCoefficient(int, int, double, int)[10] 0.001 s
testBinomialCoefficient(int, int, double, int)[11] 0 s
testBinomialCoefficient(int, int, double, int)[12] 0.001 s
testBinomialCoefficient(int, int, double, int)[13] 0 s
testBinomialCoefficient(int, int, double, int)[14] 0.001 s
testBinomialCoefficient(int, int, double, int)[15] 0 s
testBinomialCoefficient(int, int, double, int)[16] 0 s
testBinomialCoefficient(int, int, double, int)[17] 0.001 s
testBinomialCoefficient(int, int, double, int)[18] 0 s
testBinomialCoefficient(int, int, double, int)[19] 0 s
testBinomialCoefficient(int, int, double, int)[20] 0 s
testBinomialCoefficient(int, int, double, int)[21] 0 s
testBinomialCoefficient(int, int, double, int)[22] 0.002 s
testBinomialCoefficient(int, int, double, int)[23] 0.001 s
testBinomialCoefficient(int, int, double, int)[24] 0 s
testBinomialCoefficient(int, int, double, int)[25] 0 s
testBinomialCoefficient(int, int, double, int)[26] 0 s
testBinomialCoefficient(int, int, double, int)[27] 0 s
testBinomialCoefficient(int, int, double, int)[28] 0.001 s
testBinomialCoefficient(int, int, double, int)[29] 0 s
testBinomialCoefficient(int, int, double, int)[30] 0 s
testBinomialCoefficient(int, int, double, int)[31] 0 s
testBinomialCoefficient(int, int, double, int)[32] 0 s
testBinomialCoefficient(int, int, double, int)[33] 0 s
testBinomialCoefficient(int, int, double, int)[34] 0 s
testBinomialCoefficient(int, int, double, int)[35] 0.001 s
testBinomialCoefficient(int, int, double, int)[36] 0 s
testLogBinomialCoefficient(int, int, double, int)[1] 0 s
testLogBinomialCoefficient(int, int, double, int)[2] 0.001 s
testLogBinomialCoefficient(int, int, double, int)[3] 0 s
testLogBinomialCoefficient(int, int, double, int)[4] 0 s
testLogBinomialCoefficient(int, int, double, int)[5] 0 s
testLogBinomialCoefficient(int, int, double, int)[6] 0 s
testLogBinomialCoefficient(int, int, double, int)[7] 0.001 s
testLogBinomialCoefficient(int, int, double, int)[8] 0 s
testLogBinomialCoefficient(int, int, double, int)[9] 0 s
testLogBinomialCoefficient(int, int, double, int)[10] 0.001 s
testLogBinomialCoefficient(int, int, double, int)[11] 0 s
testLogBinomialCoefficient(int, int, double, int)[12] 0 s
testLogBinomialCoefficient(int, int, double, int)[13] 0 s
testLogBinomialCoefficient(int, int, double, int)[14] 0 s
testBinomialCoefficientLarge 0.014 s
testBinomialCoefficientIllegalArguments(int, int)[1] 0.001 s
testBinomialCoefficientIllegalArguments(int, int)[2] 0 s
testBinomialCoefficientIllegalArguments(int, int)[3] 0.001 s
testBinomialCoefficientIllegalArguments(int, int)[4] 0 s
testBinomialCoefficientIllegalArguments(int, int)[5] 0 s

FactorialDoubleTest

testNonPositiveArgument 0.001 s
testWithCacheReturnsThis 0 s
testFactorials 0.001 s

BinomialCoefficientDoubleTest

testBinomialCoefficient(int, int, double, int)[1] 0.024 s
testBinomialCoefficient(int, int, double, int)[2] 0 s
testBinomialCoefficient(int, int, double, int)[3] 0 s
testBinomialCoefficient(int, int, double, int)[4] 0 s
testBinomialCoefficient(int, int, double, int)[5] 0 s
testBinomialCoefficient(int, int, double, int)[6] 0.001 s
testBinomialCoefficient(int, int, double, int)[7] 0.001 s
testBinomialCoefficient(int, int, double, int)[8] 0 s
testBinomialCoefficient(int, int, double, int)[9] 0 s
testBinomialCoefficient(int, int, double, int)[10] 0.002 s
testBinomialCoefficient(int, int, double, int)[11] 0.001 s
testBinomialCoefficient(int, int, double, int)[12] 0.001 s
testBinomialCoefficient(int, int, double, int)[13] 0.001 s
testBinomialCoefficient(int, int, double, int)[14] 0 s
testBinomialCoefficient(int, int, double, int)[15] 0 s
testBinomialCoefficient(int, int, double, int)[16] 0.001 s
testBinomialCoefficient(int, int, double, int)[17] 0.001 s
testBinomialCoefficient(int, int, double, int)[18] 0 s
testBinomialCoefficient(int, int, double, int)[19] 0 s
testBinomialCoefficient(int, int, double, int)[20] 0.001 s
testBinomialCoefficient(int, int, double, int)[21] 0 s
testBinomialCoefficient(int, int, double, int)[22] 0.001 s
testBinomialCoefficient(int, int, double, int)[23] 0.001 s
testBinomialCoefficient(int, int, double, int)[24] 0 s
testBinomialCoefficient(int, int, double, int)[25] 0 s
testBinomialCoefficient(int, int, double, int)[26] 0.001 s
testBinomialCoefficient(int, int, double, int)[27] 0 s
testBinomialCoefficient(int, int, double, int)[28] 0.001 s
testBinomialCoefficient(int, int, double, int)[29] 0 s
testBinomialCoefficient(int, int, double, int)[30] 0 s
testBinomialCoefficient(int, int, double, int)[31] 0.001 s
testBinomialCoefficient(int, int, double, int)[32] 0 s
testBinomialCoefficient(int, int, double, int)[33] 0.001 s
testBinomialCoefficient(int, int, double, int)[34] 0 s
testBinomialCoefficient(int, int, double, int)[35] 0 s
testBinomialCoefficient(int, int, double, int)[36] 0.002 s
testBinomialCoefficient(int, int, double, int)[37] 0 s
testBinomialCoefficient(int, int, double, int)[38] 0.001 s
testBinomialCoefficientLarge 0.030 s
testBinomialCoefficientOverflow(int, int)[1] 0 s
testBinomialCoefficientOverflow(int, int)[2] 0 s
testBinomialCoefficientIllegalArguments(int, int)[1] 0.001 s
testBinomialCoefficientIllegalArguments(int, int)[2] 0 s
testBinomialCoefficientIllegalArguments(int, int)[3] 0.001 s
testBinomialCoefficientIllegalArguments(int, int)[4] 0 s
testBinomialCoefficientIllegalArguments(int, int)[5] 0 s

FactorialTest

testFactorialDoubleValue 0 s
testFactorialDoubleValueArgumentTooLarge 0 s
testFactorialZero 0.001 s
testFactorialNonPositiveArgument 0 s
testFactorial 0.001 s
testFactorialArgumentTooLarge 0 s

BinomialCoefficientTest

testBinomialCoefficient(int, int, long)[1] 0.001 s
testBinomialCoefficient(int, int, long)[2] 0 s
testBinomialCoefficient(int, int, long)[3] 0 s
testBinomialCoefficient(int, int, long)[4] 0 s
testBinomialCoefficient(int, int, long)[5] 0 s
testBinomialCoefficient(int, int, long)[6] 0 s
testBinomialCoefficient(int, int, long)[7] 0 s
testBinomialCoefficient(int, int, long)[8] 0 s
testBinomialCoefficient(int, int, long)[9] 0 s
testBinomialCoefficient(int, int, long)[10] 0 s
testBinomialCoefficient(int, int, long)[11] 0.001 s
testBinomialCoefficient(int, int, long)[12] 0 s
testBinomialCoefficient(int, int, long)[13] 0 s
testBinomialCoefficient(int, int, long)[14] 0 s
testBinomialCoefficient(int, int, long)[15] 0.001 s
testBinomialCoefficient(int, int, long)[16] 0 s
testBinomialCoefficient(int, int, long)[17] 0 s
testBinomialCoefficient(int, int, long)[18] 0 s
testBinomialCoefficientLarge 0.109 s
testBinomialCoefficientOverflow(int, int)[1] 0 s
testBinomialCoefficientOverflow(int, int)[2] 0 s
testBinomialCoefficientOverflow(int, int)[3] 0 s
testBinomialCoefficientIllegalArguments(int, int)[1] 0.001 s
testBinomialCoefficientIllegalArguments(int, int)[2] 0 s
testBinomialCoefficientIllegalArguments(int, int)[3] 0 s
testBinomialCoefficientIllegalArguments(int, int)[4] 0 s
testBinomialCoefficientIllegalArguments(int, int)[5] 0.001 s

CombinationsTest

testLexicographicIterator 0.015 s
testLexicographicComparator 0 s
testBinomialCoefficientKLargerThanN 0 s
testGetK 0 s
testGetN 0.001 s
testEmptyCombination 0 s
testFullSetCombination 0.001 s
testBinomialCoefficientNegativeK 0 s
testBinomialCoefficientNegativeN 0 s
testBinomialCoefficientKAboveN 0 s
testLexicographicComparatorWrongIterate1 0 s
testLexicographicComparatorWrongIterate2 0.001 s
testLexicographicComparatorWrongIterate3 0 s
testLexicographicComparatorWrongIterate4 0.001 s
testLexicographicIteratorThrows 0 s
testLexicographicComparatorUnsorted 0 s

UserGuideTest

testStirlingS2 0 s
testCombinationsComparator1 0.001 s
testBinomialCoefficient1 0 s
testLogFactorial1 0 s
testCombinations1 0 s
testFactorial1 0 s

LogFactorialTest

testNonPositiveArgument 0.001 s
testCompareDirectWithoutCache 0.003 s
testCacheIncrease 0.001 s
testCacheDecrease 0 s
testUselessCache 0 s
testZeroCache 0 s
testDelegation 0.007 s
testCompareDirectWithCache 0.033 s
testNonPositiveArgumentWithCache 0 s