Home
last modified time | relevance | path

Searched refs:getAverage (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DDoubleSummaryStatisticsTest.java30 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()
DIntSummaryStatisticsTest.java30 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()
DLongSummaryStatisticsTest.java30 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/
DIntSummaryStatistics.java149 public final double getAverage() { in getAverage() method in IntSummaryStatistics
168 getAverage(), in toString()
DLongSummaryStatistics.java161 public final double getAverage() { in getAverage() method in LongSummaryStatistics
180 getAverage(), in toString()
DDoubleSummaryStatistics.java211 public final double getAverage() { in getAverage() method in DoubleSummaryStatistics
230 getAverage(), in toString()
/libcore/ojluni/src/test/java/util/stream/
DTestDoubleSumAverage.java84 failures += compareUlpDifference(expectedAvg, stats.getAverage(), 3); in testForCompenstation()
133 failures += compareUlpDifference(expected, stats.getAverage(), 0); in testNonfiniteSum()