Home
last modified time | relevance | path

Searched refs:actualStats (Results 1 – 2 of 2) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/math/
DStatsTesting.java331 static void assertStatsApproxEqual(Stats expectedStats, Stats actualStats) { in assertStatsApproxEqual() argument
332 assertThat(actualStats.count()).isEqualTo(expectedStats.count()); in assertStatsApproxEqual()
335 actualStats.mean(); in assertStatsApproxEqual()
340 actualStats.populationVariance(); in assertStatsApproxEqual()
345 actualStats.min(); in assertStatsApproxEqual()
350 actualStats.max(); in assertStatsApproxEqual()
355 assertThat(actualStats.mean()).isWithin(ALLOWED_ERROR).of(expectedStats.mean()); in assertStatsApproxEqual()
356 assertThat(actualStats.populationVariance()).isWithin(0.0).of(0.0); in assertStatsApproxEqual()
357 assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min()); in assertStatsApproxEqual()
358 assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max()); in assertStatsApproxEqual()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DStatsTesting.java360 static void assertStatsApproxEqual(Stats expectedStats, Stats actualStats) { in assertStatsApproxEqual() argument
361 assertThat(actualStats.count()).isEqualTo(expectedStats.count()); in assertStatsApproxEqual()
364 actualStats.mean(); in assertStatsApproxEqual()
369 actualStats.populationVariance(); in assertStatsApproxEqual()
374 actualStats.min(); in assertStatsApproxEqual()
379 actualStats.max(); in assertStatsApproxEqual()
384 assertThat(actualStats.mean()).isWithin(ALLOWED_ERROR).of(expectedStats.mean()); in assertStatsApproxEqual()
385 assertThat(actualStats.populationVariance()).isWithin(0.0).of(0.0); in assertStatsApproxEqual()
386 assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min()); in assertStatsApproxEqual()
387 assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max()); in assertStatsApproxEqual()
[all …]