Class MeasurementTestUtils
- java.lang.Object
-
- org.palladiosimulator.simulizar.test.commons.util.MeasurementTestUtils
-
public final class MeasurementTestUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MeasurementTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <Q extends javax.measure.quantity.Quantity>
voidallDoubleMeasurementValuesMatch(org.palladiosimulator.edp2.models.ExperimentData.Measurement measurement, org.palladiosimulator.metricspec.BaseMetricDescription valueMetric, javax.measure.unit.Unit<Q> unit, org.hamcrest.Matcher<Double> matcher)
static Optional<org.palladiosimulator.edp2.models.ExperimentData.Measurement>
getMeasurementOfAt(Collection<org.palladiosimulator.edp2.models.ExperimentData.Measurement> measurements, org.palladiosimulator.metricspec.MetricDescription metric, EObject location)
-
-
-
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)
-
-