Пример #1
0
        public void GetFieldTest()
        {
            var height     = Convert.ToInt32(TestContext.DataRow["height"]);
            var width      = Convert.ToInt32(TestContext.DataRow["height"]);
            var expected   = TestContext.DataRow["content"].ToString();
            var chessboard = new Chessboard(height, width);

            string result = chessboard.GetField();

            StringAssert.Equals(expected, result);
        }