public void Priority_ReturnsInteger_WhenCalled() { // Arrange CellInformation info = CreateCellInformation(); UnderpopulationRule sut = CreateSut(); // Act sut.Apply(info); // Assert sut.Priority.ShouldEqual(1); }
public void Apply_SetsStatusToDead_WhenCalled() { // Arrange CellInformation info = CreateCellInformation(); UnderpopulationRule sut = CreateSut(); // Act sut.Apply(info); // Assert info.Status.ShouldEqual(Cell.Status.Dead); }