@Test
public void lossWithError() {

	List<Double> expected = Arrays.asList(10.0, 5.0);
	List<IRegressionPrediction> predicted = this.toPredictions(Arrays.asList(11.0, 4.0));
	ERulPerformanceMeasure asymmetricLoss = ERulPerformanceMeasure.ASYMMETRIC_LOSS;
	assertEquals("Loss not as expected.", 0.625, asymmetricLoss.loss(expected, predicted), 1E-8);
}