示例#1
0
        public void LessThenOrEqualConstraintLimit()
        {
            IConstraint sut = new LessThanOrEqualConstraint(10);

            Assert.IsTrue(sut.Validate(10));
        }
示例#2
0
        public void LessThenOrEqualConstraintFalse()
        {
            IConstraint sut = new LessThanOrEqualConstraint(10);

            Assert.IsFalse(sut.Validate(11));
        }