Searched refs:getAverage (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | DoubleSummaryStatisticsTest.java | 30 assertEquals(0.0d, dss.getAverage()); in test_empty() 53 assertEquals(13.7, dssCombined.getAverage(), 1E-6); in test_combine() 87 assertEquals(21.2, dss1.getAverage(), 1E-6); in test_getAverage() 90 assertEquals(Double.NaN, dss1.getAverage()); in test_getAverage()
|
D | IntSummaryStatisticsTest.java | 30 assertEquals(0.0d, iss.getAverage()); in test_empty() 54 assertEquals(9.833333d, issCombined.getAverage(), 1E-6); in test_combine() 79 assertEquals(14.857142, iss1.getAverage(), 1E-6); in test_getAverage()
|
D | LongSummaryStatisticsTest.java | 30 assertEquals(0.0d, lss.getAverage()); in test_empty() 64 assertEquals(9.833333, lssCombined.getAverage(), 1E-6); in test_combine() 89 assertEquals(14.857142, lss1.getAverage(), 1E-6); in test_getAverage()
|
/libcore/ojluni/src/main/java/java/util/ |
D | IntSummaryStatistics.java | 149 public final double getAverage() { in getAverage() method in IntSummaryStatistics 168 getAverage(), in toString()
|
D | LongSummaryStatistics.java | 161 public final double getAverage() { in getAverage() method in LongSummaryStatistics 180 getAverage(), in toString()
|
D | DoubleSummaryStatistics.java | 211 public final double getAverage() { in getAverage() method in DoubleSummaryStatistics 230 getAverage(), in toString()
|
/libcore/ojluni/src/test/java/util/stream/ |
D | TestDoubleSumAverage.java | 84 failures += compareUlpDifference(expectedAvg, stats.getAverage(), 3); in testForCompenstation() 133 failures += compareUlpDifference(expected, stats.getAverage(), 0); in testNonfiniteSum()
|