java.lang.Object
org.palladiosimulator.simulizar.test.commons.hamcrest.Matchers

public final class Matchers extends Object
  • Method Details

    • 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)
    • match

      @SafeVarargs public static <T> org.hamcrest.Matcher<Iterable<? extends T>> match(BucketMatcher<? super T>... bucketMatchers)