public void TestGetState(int[] board) { SlidingPuzzle puzzle = new SlidingPuzzle(board); string str = "{" + string.Join(",", board) + "}"; System.Console.WriteLine("Testing GetState() - Expect{0}", str); Assert.Equal(str, puzzle.GetState()); }
public void TestGetState(int[] board) { SlidingPuzzle puzzle = new SlidingPuzzle(board); string str = "{" + string.Join(",", board) + "}"; System.Console.WriteLine("Testing GetState() - Expect{0}", str); Assert.Equal(str, puzzle.GetState()); }