@Test public void shouldRemainAliveWhenReviveIsCalledOnAliveCell() { Cell cell = new Cell(true); cell.revive(); assertEquals(new Cell(true).format(), cell.format()); }
@Test public void shouldReviveDeadCellWhenReviveIsCalled() { Cell cell = new Cell(false); cell.revive(); assertEquals(new Cell(true).format(), cell.format()); }