@Then("there is $nbOfAliveCells living cells") @Alias("there is $nbOfAliveCells cells alive") public void thenThereIsCellsAlive(int nbOfAliveCells) { Assert.assertEquals(nbOfAliveCells, board.liveCellsCount()); }
@Then("no cell is alive") public void thenNoCellIsAlive() { Assert.assertEquals(0, board.liveCellsCount()); }