예제 #1
0
        public void TestIfMoveValidatorReturnsFalseWhitInvalidCommand()
        {
            bool result = MoveValidator.IsValidComandDir("Invalid");

            Assert.IsFalse(result, "Incorrect true return of IsValidComandDir");
        }
예제 #2
0
        public void TestIfMoveValidatorReturnsTrueWhitValidCommand()
        {
            bool result = MoveValidator.IsValidComandDir("d");

            Assert.IsTrue(result, "Incorrect false return of IsValidComandDir");
        }