public void GameNotOver() { var field = new Field(); field.RandomizeField(Difficulty.Normal); var defaultGameOverChecker = new DefaultGameOverChecker(); var isItOver = defaultGameOverChecker.IsItOver(field); Assert.IsFalse(isItOver); }
public void FillRepositioningOfFieldPosition() { var field = new Field(); field.RandomizeField(Difficulty.Hard); field.Position = new Position(0, 0); var originalPosition = field.Position.Clone(); var defaultFieldFiller = new DefaultFieldFiller(); defaultFieldFiller.Fill(field); Assert.AreNotEqual(originalPosition.X, field.Position.X); Assert.AreNotEqual(originalPosition.Y, field.Position.Y); }