Home
last modified time | relevance | path

Searched refs:isWithin (Results 1 – 19 of 19) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DStatsTestUtil.java110 assertThat(((SumDataDouble) actual).getSum()).isWithin(tolerance).of(arg.getSum()); in assertAggregationDataEquals()
143 .isWithin(tolerance) in assertAggregationDataEquals()
162 .isWithin(tolerance) in assertAggregationDataEquals()
188 assertThat(actual.getMean()).isWithin(tolerance).of(expected.getMean()); in assertDistributionDataEquals()
190 assertThat(actual.getMean()).isWithin(tolerance).of(expected.getMean()); in assertDistributionDataEquals()
192 .isWithin(tolerance) in assertDistributionDataEquals()
200 assertThat(actual.getMax()).isWithin(tolerance).of(expected.getMax()); in assertDistributionDataEquals()
201 assertThat(actual.getMin()).isWithin(tolerance).of(expected.getMin()); in assertDistributionDataEquals()
DMutableAggregationTest.java71 assertThat(MutableSumDouble.create().getSum()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
72 assertThat(MutableSumLong.create().getSum()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
74 assertThat(MutableMean.create().getMean()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
80 assertThat(mutableDistribution.getMean()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
84 assertThat(mutableDistribution.getSumOfSquaredDeviations()).isWithin(TOLERANCE).of(0); in testCreateEmpty()
235 assertThat(((MutableSumDouble) combined.get(0)).getSum()).isWithin(TOLERANCE).of(30); in testCombine_SumCountMean()
236 assertThat(((MutableSumLong) combined.get(1)).getSum()).isWithin(TOLERANCE).of(30); in testCombine_SumCountMean()
238 assertThat(((MutableMean) combined.get(3)).getMean()).isWithin(TOLERANCE).of(10); in testCombine_SumCountMean()
330 assertThat(mutableDistribution.getMean()).isWithin(tolerance).of(mean); in verifyMutableDistribution()
332 assertThat(mutableDistribution.getMin()).isWithin(tolerance).of(min); in verifyMutableDistribution()
[all …]
DIntervalBucketTest.java102 assertThat(mutableMean1.getSum()).isWithin(TOLERANCE).of(20); in testRecord()
103 assertThat(mutableMean2.getSum()).isWithin(TOLERANCE).of(10); in testRecord()
114 .isWithin(TOLERANCE) in testGetFraction()
DRecordUtilsTest.java113 assertThat(mutableDistribution.getSumOfSquaredDeviations()).isWithin(EPSILON).of(0); in createMutableAggregation()
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/builder/
DBuilderTest.java47 assertThat(component.d()).isWithin(0).of(4.2d); in interfaceBuilder()
71 assertThat(component.d()).isWithin(0).of(4.2d); in abstractClassBuilder()
95 assertThat(component.d()).isWithin(0).of(4.2d); in interfaceGenericBuilder()
119 assertThat(component.d()).isWithin(0).of(4.2d); in abstractClassGenericBuilder()
139 assertThat(child1.d()).isWithin(0).of(4.2d); in subcomponents_interface()
161 assertThat(child2.d()).isWithin(0).of(4.2d); in subcomponents_abstractclass()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DSummaryTest.java41 assertThat(valueAtPercentile.getPercentile()).isWithin(TOLERANCE).of(99.5); in createAndGet_ValueAtPercentile()
42 assertThat(valueAtPercentile.getValue()).isWithin(TOLERANCE).of(10.2); in createAndGet_ValueAtPercentile()
65 assertThat(snapshot.getSum()).isWithin(TOLERANCE).of(87.07); in createAndGet_Snapshot()
123 assertThat(summary.getSum()).isWithin(TOLERANCE).of(6.6); in createAndGet_Summary()
DDistributionTest.java75 assertThat(exemplar.getValue()).isWithin(TOLERANCE).of(-9.9); in createAndGet_Exemplar()
156 assertThat(distribution.getSum()).isWithin(TOLERANCE).of(6.6); in createAndGet_Distribution()
157 assertThat(distribution.getSumOfSquaredDeviations()).isWithin(TOLERANCE).of(678.54); in createAndGet_Distribution()
DValueTest.java64 assertThat(((ValueDouble) value).getValue()).isWithin(TOLERANCE).of(-34.56); in createAndGet_ValueDouble()
/external/autotest/client/common_lib/cros/webrtc_scripts/
Dloopback-peerconnection.js82 if (!isWithin(
84 !isWithin(
177 function isWithin(actual, expected, delta) { function
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DAggregationDataTest.java59 assertThat(distributionData.getMean()).isWithin(TOLERANCE).of(7.7); in testCreateDistributionData()
61 assertThat(distributionData.getMin()).isWithin(TOLERANCE).of(1.1); in testCreateDistributionData()
62 assertThat(distributionData.getMax()).isWithin(TOLERANCE).of(9.9); in testCreateDistributionData()
63 assertThat(distributionData.getSumOfSquaredDeviations()).isWithin(TOLERANCE).of(32.2); in testCreateDistributionData()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOpenGLMatrixTest.java310 assertThat(Matrix.length(3, 4, 5)).isWithin(0.001f).of(7.071f); in testLength()
571 assertThat(actual[i]).isWithin(precision).of(expected[i]); in assertMatrixWithPrecision()
DShadowCaptioningManagerTest.java59 assertThat(captioningManager.getFontScale()).isWithin(0.001f).of(fontScale); in setFontScale_changesValueOfGetFontScale()
DShadowMatrixTest.java531 assertThat(actual.x).isWithin(EPSILON).of(expected.x); in assertPointsEqual()
532 assertThat(actual.y).isWithin(EPSILON).of(expected.y); in assertPointsEqual()
/external/grpc-grpc-java/context/src/test/java/io/grpc/testing/
DDeadlineSubject.java53 public TolerantDeadlineComparison isWithin(final long delta, final TimeUnit timeUnit) { in isWithin() method in DeadlineSubject
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DNativeInterpreterWrapperTest.java546 assertThat(wrapper.getOutputQuantizationScale(0)).isWithin(1e-6f).of(0.0f); in testGetOutputQuantizationParams()
550 assertThat(wrapper.getOutputQuantizationScale(0)).isWithin(1e-6f).of(0.25f); in testGetOutputQuantizationParams()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DCascadingTest.java220 .that(finalDeadline.get()).isWithin(1, TimeUnit.SECONDS).of(initialDeadline); in testDeadlinePropagation()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java138 assertAbout(deadline()).that(actual).isWithin(10, MILLISECONDS).of(expected); in withDeadlineAfter()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java68 assertAbout(deadline()).that(d).isWithin(1, TimeUnit.SECONDS).of(reference); in defaultTickerIsSystemTicker()
/external/guice/lib/build/
Dtruth-0.36.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...