Example #1
0
        public void TestParseInputCommand_WithRowsAndColsCommand()
        {
            Engine game = new Engine();
            GameField gameField = new GameField(10, 10);

            char[,] fieldWithQuestionMarks = gameField.Create();

            string actual = game.ParseInputCommand("5x5", fieldWithQuestionMarks);
            string expected = "turn";

            Assert.AreEqual(expected, actual);
        }