示例#1
0
        public void ValidityChecker_ValidRow_ReturnTrue()
        {
            var row = new List <int> {
                1, 2, 3, 4
            };
            ValidityChecker validityChecker = new ValidityChecker(game, row);
            var             result          = validityChecker.ListValid();

            Assert.IsTrue(result);
        }
示例#2
0
        public void ValidityChecker_InvalidRowWithInvalidRange_ReturnFalse()
        {
            var row = new List <int> {
                5, 2, 3, 4
            };
            ValidityChecker validityChecker = new ValidityChecker(game, row);
            var             result          = validityChecker.ListValid();

            Assert.IsFalse(result);
        }