parent
327a95b037
commit
dc2082e690
@ -52,7 +52,7 @@ public class GenerationTerminator implements InterfaceTerminator, Serializable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Generations calls = " + maxGenerations;
|
return "Generations calls=" + maxGenerations;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Parameter(description = "Number of generations to evaluate.")
|
@Parameter(description = "Number of generations to evaluate.")
|
||||||
|
@ -37,7 +37,7 @@ public class GenerationTerminatorTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToString() throws Exception {
|
public void testToString() throws Exception {
|
||||||
assertEquals("Generation calls = 100", terminator.toString());
|
assertEquals("Generations calls=100", terminator.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user