Searched refs:isWithin (Results 1 – 21 of 21) sorted by relevance
28 assertThat(energy.getInCalories()).isWithin(1).of(expected); in assertEnergyWithTolerance()33 assertThat(length.getInMeters()).isWithin(0.001).of(expected); in assertLengthWithTolerance()38 assertThat(mass.getInGrams()).isWithin(0.001).of(expected); in assertMassWithTolerance()43 assertThat(value).isWithin(0.001).of(expected); in assertDoubleWithTolerance()
461 assertThat(oldEnergy.getInCalories() / 1000).isWithin(1).of(13118); in testAggregation_BasalCaloriesBurntTotal()464 .isWithin(1) in testAggregation_BasalCaloriesBurntTotal()
112 assertThat((double) totalIndicesAdded).isWithin(3 * stddev).of(expectedIndicesAdded); in totalIndicesAddedTest()147 assertThat((double) totalSum).isWithin(3 * stddev).of(expectedSum); in indexOffsetTest()204 assertThat(totalSum).isWithin(3 * stddev).of(expectedSum); in doubleToIndexTest()
27 assertThat(value).isWithin(/*tolerance*/ 0.1).of(/*expected*/ 0.8) in convertDistanceFromMeters_toMiles()
27 assertThat(value).isWithin(/*tolerance*/ 0.1).of(/*expected*/ 26.84) in convertToDistancePerHour_toMiles()
300 .isWithin(10F) in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()306 .isWithin(10F) in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()313 .isWithin(10F) in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()329 .isWithin(10F) in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()345 .isWithin(10F) in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()352 .isWithin(10F) in testBuyerInputGenerator_returnsBuyerInputs_onlyCAsWithRenderIdReturned_successPayloadMetricsEnabled()
83 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
97 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
95 assertThat(actualValue).isWithin(0.01F).of(expectedValue); in assertFloat()
106 assertWithMessage("wrong score at [%s, %s]", i, j).that(cell).isWithin(0.01F) in testCalculateScores()
62 assertThat(settings.getFloatOrNull(longKey)).isWithin(0.00001f).of(Long.MAX_VALUE.toFloat()) in testMismatchedTypes()
114 assertThat(filter.getResult().value).isWithin(0.000001f).of(weightedResult); in weightedTest()
154 assertThat(mOneGroupAggregator.getResultForGroup(0)).isWithin(1.0).of(5084.0); in testAppStepsRecord_returnCorrectAggregation()
110 .isWithin(5f) in simulateRotation()
93 assertThat(layout.mAspectRatio).isWithin(0.01f).of(VIDEO_WIDTH / (float) VIDEO_HEIGHT); in onBindViewHolder_hasCorrectRatio()
146 def isWithin(self, time_bound): member in TimeDeltaSubject
54 assertThat(transformed.length()).isWithin(EPSILON).of(0); in transformPoint_zeroZerosVector()
218 .isWithin(PRECISION) in testCalculateBatteryPercent()
1735 .isWithin(PrivacyParams.NUMBER_EQUAL_THRESHOLD) in testGetInformationGain_attributionScopeOff_doesNotIncludeAttributionScopeParams()1756 .isWithin(PrivacyParams.NUMBER_EQUAL_THRESHOLD) in testGetInformationGain_attributionScopeOn_includesAttributionScopeParams()1773 .isWithin(PrivacyParams.NUMBER_EQUAL_THRESHOLD) in testGetInformationGain_attributionScopeOnParamsNull_fallbackToDefaultValue()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
337 .isWithin(0.0f) in testLogRunAdBiddingProcessReportedStats()