}
@Test
public void buildPessimisticBoundOnlyDown() {
HardSoftDoubleScoreDefinition scoreDefinition = new HardSoftDoubleScoreDefinition();
HardSoftDoubleScore pessimisticBound = scoreDefinition.buildPessimisticBound(
InitializingScoreTrend.buildUniformTrend(InitializingScoreTrendLevel.ONLY_DOWN, 2),
HardSoftDoubleScore.valueOf(-1, -2));
assertEquals(Double.NEGATIVE_INFINITY, pessimisticBound.getHardScore(), 0.0);
assertEquals(Double.NEGATIVE_INFINITY, pessimisticBound.getSoftScore(), 0.0);
}