예제 #1
0
        public void TestParamsValidation()
        {
            _mazeParams.Height     = 20;
            _mazeParams.Width      = 20;
            _mazeParams.Difficulty = 5;
            _mazeParams.PlayerName = MazeParams.GetRandomVerifiedPlayerName();

            Assert.IsTrue(_mazeParams.IsValid());
        }
예제 #2
0
 public void Initializer()
 {
     _params.Height     = 20;
     _params.Width      = 20;
     _params.PlayerName = MazeParams.GetRandomVerifiedPlayerName();
 }