@Test
// selects 5 Individuals, test whether it hits inputIndividual[3] twice
public void testSelectWinners2() throws Exception {

    this.operator.setIndividualsPerPopulation(5);
    double[] accumulatedProbabilities = this.operator.makeAccumulatedProbabilities(this.inputIndividuals);
    List<Individual> winners = this.operator.selectWinners(this.inputIndividuals, accumulatedProbabilities);
    assertEquals(5, winners.size());
    assertSame(this.inputIndividuals[0], winners.get(0));
    assertSame(this.inputIndividuals[1], winners.get(1));
    assertSame(this.inputIndividuals[3], winners.get(2));
    assertSame(this.inputIndividuals[3], winners.get(3));
    assertSame(this.inputIndividuals[4], winners.get(4));
}