Class org.broadinstitute.hellbender.utils.MathUtilsUnitTest

95

tests

0

failures

0

ignored

10.295s

duration

100%

successful

Tests

Test Duration Result
naturalLogSumNaturalLogTest 0.003s passed
testAddDoubles 0.001s passed
testAllMatchDouble 0.001s passed
testAllMatchInt 0s passed
testApplyToArray 0.001s passed
testApplyToArrayInPlace 0s passed
testApproximateLogSumLog 0.008s passed
testBinarySearchFindZero[0](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$827/0x00007fa9685d75b0@8373658, -1.0, 1.0, 0.001, OptionalDouble[0.0]) 0.001s passed
testBinarySearchFindZero[1](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$828/0x00007fa9685d77f0@40f945b9, 1.0, 2.0, 0.001, OptionalDouble.empty) 0s passed
testBinarySearchFindZero[2](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$829/0x00007fa9685d7a30@30cfa5ec, 0.0, 2.0, 0.001, OptionalDouble[1.4142135623730951]) 0s passed
testBinarySearchFindZero[3](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$830/0x00007fa9685d7c70@2205bbbc, 0.0, 2.0, 0.001, OptionalDouble.empty) 0s passed
testBinarySearchFindZero[4](org.broadinstitute.hellbender.utils.MathUtilsUnitTest$$Lambda$831/0x00007fa9685d5c00@67729d0a, 0, 10, 0.001, OptionalDouble[4.0]) 0s passed
testBinomialProbability 0s passed
testCompareDoubles 0s passed
testDirichletMultinomial 10.243s passed
testDistanceSquaredDifferentLengths[0]([D@5a9189b6, [D@54a3b3fe, NaN) 0s passed
testDistanceSquared[0]([D@25b45f33, [D@d272d22, 0.0) 0.001s passed
testDistanceSquared[1]([D@385a2414, [D@ca04000, 0.0) 0s passed
testDistanceSquared[2]([D@69ecb61f, [D@ff45b2, 0.0) 0s passed
testDistanceSquared[3]([D@2f142507, [D@234422b4, 3.0) 0s passed
testFastBernoulliEntropy 0.001s passed
testGoodProbability 0s passed
testLog10OneMinusPow10[0](NaN, NaN) 0s 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.006s 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) 0.001s passed
testLog1mexp[4](-1.0, -0.45867514538708193) 0s passed
testLog1mexp[5](-3.0, -0.051069180942701596) 0s passed
testLog1mexp[6](-10.0, -4.54009603704951E-5) 0s 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 0s passed
testMaxElementIndex 0.001s passed
testMedianOfEmptyList 0s passed
testMedianOfNullList 0s passed
testMedian[0]([0], 0) 0s 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 0s passed
testRandomSelect 0.007s passed
testRandomSelectFlatProbability 0.003s 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) 0.001s 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.001s passed
testSumCollection 0s 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) 0s 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

20:57:22.635 WARN  MathUtilsUnitTest - Executing testRunningAverage