Class Matchers


  • public final class Matchers
    extends Object
    • Method Detail

      • firstMeasurementMatchesDifferentlyThanTheRest

        public static <T> org.hamcrest.Matcher<T> firstMeasurementMatchesDifferentlyThanTheRest​(org.hamcrest.Matcher<T> firstValue,
                                                                                                org.hamcrest.Matcher<T> remainderValue)
      • asDoubleIn

        public static <Q extends javax.measure.quantity.Quantity> org.hamcrest.Matcher<javax.measure.Measure<?,​Q>> asDoubleIn​(javax.measure.unit.Unit<Q> unit,
                                                                                                                                    org.hamcrest.Matcher<? super Double> contentMatcher)
      • withProbability

        public static <T> BucketMatcher<T> withProbability​(org.hamcrest.Matcher<Double> probabilityMatcher,
                                                           org.hamcrest.Matcher<? super T> bucketMatcher)