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); }
public void FillWithNull() { var defaultFieldFiller = new DefaultFieldFiller(); defaultFieldFiller.Fill(null); }