Apache Commons logo Apache Commons Numbers

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
156 0 0 0 100% 0.356 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.fraction 156 0 0 0 100% 0.356 s

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

org.apache.commons.numbers.fraction

- Class Tests Errors Failures Skipped Success Rate Time
UserGuideTest 9 0 0 0 100% 0.003 s
ContinuedFractionTest 11 0 0 0 100% 0.077 s
FractionTest 32 0 0 0 100% 0.013 s
GeneralizedContinuedFractionTest 50 0 0 0 100% 0.061 s
BigFractionTest 39 0 0 0 100% 0.165 s
CommonsLangPortedFractionTest 15 0 0 0 100% 0.037 s

Test Cases

[Summary] [Package List] [Test Cases]

UserGuideTest

testContinuedFraction1 0 s
testBigFraction1 0 s
testFraction1 0 s
testFraction2 0.001 s
testFraction3 0 s
testFraction4 0 s
testGeneralizedContinuedFraction1 0.001 s
testGeneralizedContinuedFraction2 0 s
testGeneralizedContinuedFraction3 0 s

ContinuedFractionTest

testMaxIterationsThrows 0.027 s
testTwoIterations 0.002 s
testNaNThrows 0.001 s
testOneIteration 0.001 s
testGoldenRatioEpsilonZero(double)[1] 0.004 s
testGoldenRatioEpsilonZero(double)[2] 0.001 s
testGoldenRatioEpsilonZero(double)[3] 0.001 s
test415Over93 0.001 s
testInfThrows 0 s
testGoldenRatioReciprocal 0.001 s
testGoldenRatio 0 s

FractionTest

testConstructorZero 0.001 s
testFloatValue 0 s
testAbs 0 s
testAdd 0.001 s
testPow 0 s
testDoubleConstructorOverflow 0.001 s
testSubtract 0 s
testIsOne 0.001 s
testParse 0 s
testNumbers150 0.001 s
testToString 0 s
testReciprocal 0 s
testCompareTo 0 s
testDoubleConstructorGoldenRatioThrows 0 s
testDoubleConstructorWithMaxDenominatorOverFlow 0 s
testDoubleConstructor 0 s
testLongValue 0 s
testMath1261 0 s
testIntValue 0 s
testDivide 0 s
testMultiply 0.001 s
testEqualsAndHashCode 0 s
testIsZero 0 s
testNegate 0.001 s
testAdditiveNeutral 0 s
testMultiplicativeNeutral 0 s
testSerial 0.001 s
testDoubleConstructorThrows 0.001 s
testDoubleConstructorWithEpsilonLimit 0 s
testDoubleConstructorWithMaxDenominator 0.001 s
testDoubleValue 0 s
testConstructor 0 s

GeneralizedContinuedFractionTest

testSimpleContinuedFraction(double, String)[1] 0.012 s
testSimpleContinuedFraction(double, String)[2] 0 s
testSimpleContinuedFraction(double, String)[3] 0 s
testSimpleContinuedFraction(double, String)[4] 0 s
testGoldenRatioAInvalidEpsilon(double)[1] 0 s
testGoldenRatioAInvalidEpsilon(double)[2] 0 s
testGoldenRatioAInvalidEpsilon(double)[3] 0 s
testGoldenRatioAInvalidEpsilon(double)[4] 0 s
testGoldenRatioAInvalidEpsilon(double)[5] 0.001 s
testNaNThrowsA 0 s
testNaNThrowsB 0.001 s
testTwoIterations 0 s
testBaseE(double)[1] 0.001 s
testBaseE(double)[2] 0 s
testTanX2(double, double)[1] 0.001 s
testTanX2(double, double)[2] 0 s
testTanX2(double, double)[3] 0 s
testTanX(double, double)[1] 0.001 s
testTanX(double, double)[2] 0 s
testTanX(double, double)[3] 0.001 s
testTanX(double, double)[4] 0 s
testTanX(double, double)[5] 0 s
testTanX(double, double)[6] 0.001 s
testTanX(double, double)[7] 0 s
testTanX(double, double)[8] 0.001 s
testTanX(double, double)[9] 0 s
testTanX(double, double)[10] 0 s
testRelativeErrorAssumptions 0 s
testMaxIterationsThrowsA 0 s
testMaxIterationsThrowsB 0.001 s
testOneIteration 0 s
testGoldenRatioBInvalidEpsilon(double)[1] 0.001 s
testGoldenRatioBInvalidEpsilon(double)[2] 0 s
testGoldenRatioBInvalidEpsilon(double)[3] 0 s
testGoldenRatioBInvalidEpsilon(double)[4] 0 s
testGoldenRatioBInvalidEpsilon(double)[5] 0.001 s
test0Over93 0 s
testGoldenRatioA(double)[1] 0.001 s
testGoldenRatioA(double)[2] 0 s
testGoldenRatioB(double)[1] 0.002 s
testGoldenRatioB(double)[2] 0 s
testGoldenRatioC(double)[1] 0 s
testGoldenRatioC(double)[2] 0 s
test415Over93 0 s
testInfThrowsA 0.001 s
testInfThrowsB 0 s
testZeroThrowsA 0.001 s
testZeroThrowsB 0 s
test43Over93 0.001 s
testCloseToZeroB0 0 s

BigFractionTest

testConstructorZero 0 s
testDoubleValueForLargeNumeratorAndSmallDenominator 0.001 s
testFloatValueForLargeNumeratorAndDenominator 0.002 s
testFloatValue 0 s
testAbs 0.003 s
testAdd 0.001 s
testPow 0.114 s
testDoubleConstructorOverflow 0.001 s
testSubtract 0.001 s
testIsOne 0 s
testParse 0 s
testNumbers150 0.010 s
testDoubleValueForInfinities 0.001 s
testToString 0.001 s
testReciprocal 0 s
testDoubleValueForSubnormalNumbers 0 s
testCompareTo 0.001 s
testDoubleConstructorGoldenRatioThrows 0 s
testDoubleConstructorWithMaxDenominatorOverFlow 0.001 s
testDoubleConstructor 0.001 s
testBigDecimalValue 0.001 s
testMath340 0 s
testDoubleValueForLargeNumeratorAndDenominator 0 s
testLongValue 0.001 s
testFloatValueForLargeNumeratorAndSmallDenominator 0 s
testIntValue 0 s
testDivide 0.001 s
testMultiply 0 s
testEqualsAndHashCode 0.001 s
testIsZero 0 s
testNegate 0.001 s
testAdditiveNeutral 0 s
testMultiplicativeNeutral 0 s
testSerial 0.011 s
testDoubleConstructorThrows 0.001 s
testDoubleConstructorWithEpsilonLimit 0 s
testDoubleConstructorWithMaxDenominator 0 s
testDoubleValue 0.001 s
testConstructor 0 s

CommonsLangPortedFractionTest

testReducedFactory_int_int 0.002 s
testAbs 0 s
testAdd 0.001 s
testPow 0.001 s
testSubtract 0.001 s
testToString 0 s
testCompareTo 0.001 s
testFactory_double 0.027 s
testConstants 0 s
testHashCode 0.001 s
testDivide 0 s
testEquals 0 s
testMultiply 0 s
testNegate 0 s
testFactory_int_int 0 s