public class TestMaximizeAdjustedScoreComp {
@Test
public void testCompare() {
BasicGenome genome1 = new IntegerArrayGenome(1);
genome1.setAdjustedScore(10);
genome1.setScore(4);
BasicGenome genome2 = new IntegerArrayGenome(1);
genome2.setAdjustedScore(4);
genome2.setScore(10);
MaximizeAdjustedScoreComp comp = new MaximizeAdjustedScoreComp();
Assert.assertTrue(comp.compare(genome1, genome2)<0);
}