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.279 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.279 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.055 s
FractionTest 32 0 0 0 100% 0.016 s
GeneralizedContinuedFractionTest 50 0 0 0 100% 0.051 s
BigFractionTest 39 0 0 0 100% 0.116 s
CommonsLangPortedFractionTest 15 0 0 0 100% 0.038 s

Test Cases

[Summary] [Package List] [Test Cases]

UserGuideTest

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

ContinuedFractionTest

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

FractionTest

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

GeneralizedContinuedFractionTest

testSimpleContinuedFraction(double, String)[1] 0.008 s
testSimpleContinuedFraction(double, String)[2] 0 s
testSimpleContinuedFraction(double, String)[3] 0 s
testSimpleContinuedFraction(double, String)[4] 0 s
testGoldenRatioAInvalidEpsilon(double)[1] 0.001 s
testGoldenRatioAInvalidEpsilon(double)[2] 0 s
testGoldenRatioAInvalidEpsilon(double)[3] 0.001 s
testGoldenRatioAInvalidEpsilon(double)[4] 0 s
testGoldenRatioAInvalidEpsilon(double)[5] 0 s
testNaNThrowsA 0 s
testNaNThrowsB 0 s
testTwoIterations 0.001 s
testBaseE(double)[1] 0 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 s
testTanX(double, double)[7] 0 s
testTanX(double, double)[8] 0 s
testTanX(double, double)[9] 0.001 s
testTanX(double, double)[10] 0 s
testRelativeErrorAssumptions 0.001 s
testMaxIterationsThrowsA 0 s
testMaxIterationsThrowsB 0.001 s
testOneIteration 0 s
testGoldenRatioBInvalidEpsilon(double)[1] 0 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 s
testGoldenRatioA(double)[2] 0 s
testGoldenRatioB(double)[1] 0 s
testGoldenRatioB(double)[2] 0 s
testGoldenRatioC(double)[1] 0 s
testGoldenRatioC(double)[2] 0 s
test415Over93 0 s
testInfThrowsA 0 s
testInfThrowsB 0.001 s
testZeroThrowsA 0 s
testZeroThrowsB 0.001 s
test43Over93 0 s
testCloseToZeroB0 0 s

BigFractionTest

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

CommonsLangPortedFractionTest

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