예제 #1
0
        public void No_match_if_not_greater()
        {
            var isGreaterThanOne = new IsGreaterThan<int>(1);

            var matches = isGreaterThanOne.Matches(0);

            Assert.IsFalse(matches);
        }
예제 #2
0
        public void No_match_if_equal()
        {
            var isGreaterThanOne = new IsGreaterThan <int>(1);

            var matches = isGreaterThanOne.Matches(1);

            Assert.False(matches);
        }
예제 #3
0
        public void No_match_if_not_greater()
        {
            var isGreaterThanOne = new IsGreaterThan <int>(1);

            var matches = isGreaterThanOne.Matches(0);

            Assert.IsFalse(matches);
        }