Class org.broadinstitute.hellbender.utils.MathUtilsUnitTest

95

tests

0

failures

0

ignored

12.358s

duration

100%

successful

Tests

Test Duration Result
naturalLogSumNaturalLogTest 0.007s passed
testAddDoubles 0.003s passed
testAllMatchDouble 0.002s passed
testAllMatchInt 0.002s passed
testApplyToArray 0.001s passed
testApplyToArrayInPlace 0.001s passed
testApproximateLogSumLog 0.008s passed
testBinarySearchFindZero[0](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$450/0x0000000800fa9c50@42aa1324, -1.0, 1.0, 0.001, OptionalDouble[0.0]) 0.001s passed
testBinarySearchFindZero[1](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$451/0x0000000800fa9e90@1934339, 1.0, 2.0, 0.001, OptionalDouble.empty) 0s passed
testBinarySearchFindZero[2](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$452/0x0000000800faa0d0@1eab8437, 0.0, 2.0, 0.001, OptionalDouble[1.4142135623730951]) 0s passed
testBinarySearchFindZero[3](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$453/0x0000000800faa310@69ffdaa8, 0.0, 2.0, 0.001, OptionalDouble.empty) 0s passed
testBinarySearchFindZero[4](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$454/0x0000000800faa550@68d6f48e, 0, 10, 0.001, OptionalDouble[4.0]) 0s passed
testBinomialProbability 0.002s passed
testCompareDoubles 0s passed
testDirichletMultinomial 12.274s passed
testDistanceSquaredDifferentLengths[0]([D@45dde6ac, [D@14ed7ddf, NaN) 0.001s passed
testDistanceSquared[0]([D@7af0d91b, [D@1c7f6e96, 0.0) 0s passed
testDistanceSquared[1]([D@6684f7f2, [D@1682e6a, 0.0) 0s passed
testDistanceSquared[2]([D@4cecc15a, [D@d969452, 0.0) 0s passed
testDistanceSquared[3]([D@74f4a2ba, [D@5e385b6f, 3.0) 0s passed
testFastBernoulliEntropy 0.001s passed
testGoodProbability 0s passed
testLog10OneMinusPow10[0](NaN, NaN) 0.001s passed
testLog10OneMinusPow10[10](-1000.0, 0.0) 0s passed
testLog10OneMinusPow10[11](-3000.0, 0.0) 0s passed
testLog10OneMinusPow10[1](10.0, NaN) 0s passed
testLog10OneMinusPow10[2](1.0, NaN) 0s passed
testLog10OneMinusPow10[3](0.0, -Infinity) 0s passed
testLog10OneMinusPow10[4](-1.0, -0.045757490560675115) 0s passed
testLog10OneMinusPow10[5](-3.0, -4.345117740176917E-4) 0s passed
testLog10OneMinusPow10[6](-10.0, -4.342945178586531E-11) 0.001s passed
testLog10OneMinusPow10[7](-30.0, 0.0) 0s passed
testLog10OneMinusPow10[8](-100.0, 0.0) 0s passed
testLog10OneMinusPow10[9](-300.0, 0.0) 0s passed
testLog10OneMinusX 0s passed
testLog10sumLog10 0.008s passed
testLog1mexp[0](NaN, NaN) 0s passed
testLog1mexp[10](-1000.0, 0.0) 0s passed
testLog1mexp[11](-3000.0, 0.0) 0s passed
testLog1mexp[1](10.0, NaN) 0s passed
testLog1mexp[2](1.0, NaN) 0s passed
testLog1mexp[3](0.0, -Infinity) 0s passed
testLog1mexp[4](-1.0, -0.45867514538708193) 0s passed
testLog1mexp[5](-3.0, -0.051069180942701596) 0s passed
testLog1mexp[6](-10.0, -4.54009603704951E-5) 0.001s passed
testLog1mexp[7](-30.0, -9.359180097590508E-14) 0s passed
testLog1mexp[8](-100.0, 0.0) 0s passed
testLog1mexp[9](-300.0, 0.0) 0s passed
testLogLog10conversions 0s passed
testLogSumLog 0.001s passed
testMaxElementIndex 0s passed
testMedianOfEmptyList 0.001s passed
testMedianOfNullList 0s passed
testMedian[0]([0], 0) 0.010s passed
testMedian[1]([0, 1, 2], 1) 0s passed
testMedian[2]([1, 0, 2], 1) 0s passed
testMedian[3]([0, 1], 0.5) 0s passed
testMedian[4]([-10.0, 0, 10.5], 0) 0s passed
testMedian[5]([1, 1, 5, 2, 1, 5, 1, 9], 1.5) 0s passed
testNextPermutation 0s passed
testNormalDistribution 0.011s passed
testNormalize 0.001s passed
testNormalizeFromReal 0.001s passed
testRandomSelect 0.009s passed
testRandomSelectFlatProbability 0.004s passed
testRoundingError 0s passed
testRounding[0](3.1415926, 8, 3.1415926) 0s passed
testRounding[10](0.43452380952380953, 2, 0.43) 0s passed
testRounding[1](3.1415926, 7, 3.1415926) 0s passed
testRounding[2](3.1415926, 6, 3.141593) 0s passed
testRounding[3](3.1415926, 5, 3.14159) 0s passed
testRounding[4](3.1415926, 4, 3.1416) 0s passed
testRounding[5](3.1415926, 3, 3.142) 0s passed
testRounding[6](3.1415926, 2, 3.14) 0s passed
testRounding[7](3.1415926, 1, 3.1) 0s passed
testRounding[8](1.025, 2, 1.03) 0s passed
testRounding[9](34.356845398701736, 4, 34.3568) 0s passed
testRunningAverage 0.001s passed
testSecondSmallestMinusSmallest 0s passed
testSum 0s passed
testSumArrayFunction 0.002s passed
testSumCollection 0.001s passed
testSumLog10 0s passed
testSumRange 0.001s passed
testToIntExactOrThrowGoodCases[0](2147483647) 0s passed
testToIntExactOrThrowGoodCases[1](10000) 0s passed
testToIntExactOrThrowGoodCases[2](10) 0s passed
testToIntExactOrThrowGoodCases[3](0) 0s passed
testToIntExactOrThrowGoodCases[4](-10000) 0s passed
testToIntExactOrThrowGoodCases[5](-2147483648) 0s passed
testToIntExactOrThrowThrowingCases[0](2147483648) 0.001s passed
testToIntExactOrThrowThrowingCases[1](-2147483649) 0s passed
testToIntExactOrThrowThrowingCases[2](214748364700) 0s passed
testlogsumLogEdgeCases 0s passed
testlogsumLogErrorNaN 0s passed

Standard output

3 likelihoods and max is (probability) 1.000000e+00
6 likelihoods and max is (probability) 1.000000e+00
11 likelihoods and max is (probability) 1.000000e+00
21 likelihoods and max is (probability) 1.000000e+00
26 likelihoods and max is (probability) 1.000000e+00
3 likelihoods and max is (probability) 1.000000e+00
6 likelihoods and max is (probability) 1.000000e+00
11 likelihoods and max is (probability) 1.000000e+00
21 likelihoods and max is (probability) 1.000000e+00
26 likelihoods and max is (probability) 1.000000e+00
3 likelihoods and max is (probability) 1.000000e+00
6 likelihoods and max is (probability) 1.000000e+00
11 likelihoods and max is (probability) 1.000000e+00
21 likelihoods and max is (probability) 1.000000e+00
26 likelihoods and max is (probability) 1.000000e+00
3 likelihoods and max is (probability) 1.000000e+00
6 likelihoods and max is (probability) 1.000000e+00
11 likelihoods and max is (probability) 1.000000e+00
21 likelihoods and max is (probability) 1.000000e+00
26 likelihoods and max is (probability) 1.000000e+00
6 likelihoods and max is (probability) 1.000000e+00
21 likelihoods and max is (probability) 1.000000e+00
66 likelihoods and max is (probability) 1.000000e+00
231 likelihoods and max is (probability) 1.000000e+00
351 likelihoods and max is (probability) 1.000000e+00
6 likelihoods and max is (probability) 1.000000e+00
21 likelihoods and max is (probability) 1.000000e+00
66 likelihoods and max is (probability) 1.000000e+00
231 likelihoods and max is (probability) 1.000000e+00
351 likelihoods and max is (probability) 1.000000e+00
10 likelihoods and max is (probability) 1.000000e+00
56 likelihoods and max is (probability) 1.000000e+00
286 likelihoods and max is (probability) 1.000000e+00
1771 likelihoods and max is (probability) 1.000000e+00
3276 likelihoods and max is (probability) 1.000000e+00
15 likelihoods and max is (probability) 1.000000e+00
126 likelihoods and max is (probability) 1.000000e+00
1001 likelihoods and max is (probability) 1.000000e+00
10626 likelihoods and max is (probability) 1.000000e+00
23751 likelihoods and max is (probability) 1.000000e+00
36 likelihoods and max is (probability) 1.000000e+00
792 likelihoods and max is (probability) 1.000000e+00
19448 likelihoods and max is (probability) 1.000000e+00
888030 likelihoods and max is (probability) 1.000000e+00
3365856 likelihoods and max is (probability) 1.000000e+00

Standard error

15:01:10.122 WARN  MathUtilsUnitTest - Executing testRunningAverage