Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregationApisTest.java31 import static android.healthconnect.cts.aggregation.Utils.assertMassWithTolerance;
272 assertMassWithTolerance(responses.get(0).get(WEIGHT_AVG), 70.0); in groupByPeriod_weightAvg()
278 assertMassWithTolerance(responses.get(1).get(WEIGHT_AVG), 55.0); in groupByPeriod_weightAvg()
306 assertMassWithTolerance(response.get(WEIGHT_MAX), 70.0); in aggregateWithInstantFilter_weightMax()
327 assertMassWithTolerance(responses.get(0).get(WEIGHT_MIN), 50.0); in groupByDurationWithInstantFilter_weightMin()
337 assertMassWithTolerance(responses.get(2).get(WEIGHT_MIN), 60.0); in groupByDurationWithInstantFilter_weightMin()
DUtils.java36 static void assertMassWithTolerance(Mass mass, double expected) { in assertMassWithTolerance() method in Utils