예제 #1
0
        public void SetBoard_GivenArrayWithSize20_ShouldReturn2DArrayWithSize20()
        {
            //---------------Set up test pack-------------------

            //---------------Assert Precondition----------------

            //---------------Execute Test ----------------------
            _game.SetBoard(20);
            //---------------Test Result -----------------------
            Assert.AreEqual(20, _game.Size);
            Assert.AreEqual(20, _game.Width);
            Assert.AreEqual(20, _game.Height);
        }