public void CreateNewEmptyPuzzleObject() { var emptyPuzzle = new EmptyPuzzle(); Assert.IsInstanceOfType(emptyPuzzle, typeof(EmptyPuzzle)); Assert.IsInstanceOfType(emptyPuzzle, typeof(Puzzle)); }
public void CreateAnEmptyPuzzleFromGenerator() { var emptyPuzzle = new EmptyPuzzle(); Assert.IsInstanceOfType(emptyPuzzle, typeof(EmptyPuzzle)); Assert.IsInstanceOfType(emptyPuzzle, typeof(Puzzle)); emptyPuzzle.CreatePuzzle(); Assert.IsNotNull(emptyPuzzle.PuzzleArray); BuildLogString(emptyPuzzle.PuzzleArray); WriteLog(); Assert.IsTrue(_log.Contains("0")); }