Class MeasurementTestUtils


  • public final class MeasurementTestUtils
    extends Object
    • Constructor Detail

      • MeasurementTestUtils

        public MeasurementTestUtils()
    • Method Detail

      • allDoubleMeasurementValuesMatch

        public static <Q extends javax.measure.quantity.Quantity> void allDoubleMeasurementValuesMatch​(org.palladiosimulator.edp2.models.ExperimentData.Measurement measurement,
                                                                                                       org.palladiosimulator.metricspec.BaseMetricDescription valueMetric,
                                                                                                       javax.measure.unit.Unit<Q> unit,
                                                                                                       org.hamcrest.Matcher<Double> matcher)
      • getMeasurementOfAt

        public static Optional<org.palladiosimulator.edp2.models.ExperimentData.Measurement> getMeasurementOfAt​(Collection<org.palladiosimulator.edp2.models.ExperimentData.Measurement> measurements,
                                                                                                                org.palladiosimulator.metricspec.MetricDescription metric,
                                                                                                                EObject location)