MetricResultExtensionsKt

Added in 1.1.0

public final class MetricResultExtensionsKt


Summary

Public methods

static final void
@ExperimentalMetricApi
assertEqualMeasurements(
    @NonNull List<@NonNull Metric.Measurement> expected,
    @NonNull List<@NonNull Metric.Measurement> observed,
    double threshold
)

Asserts that the two lists of Measurements are equal with a threshold for data, ignoring list order.

Public methods

assertEqualMeasurements

@ExperimentalMetricApi
public static final void assertEqualMeasurements(
    @NonNull List<@NonNull Metric.Measurement> expected,
    @NonNull List<@NonNull Metric.Measurement> observed,
    double threshold
)

Asserts that the two lists of Measurements are equal with a threshold for data, ignoring list order.