示例#1
0
        public void Matches_should_detect_contra()
        {
            var subj = new MatchMatcher(new Regex("^a+"));

            Assert.False(subj.Matches("b"));
        }
示例#2
0
        public void Matches_should_detect_substrings_nominal()
        {
            var subj = new MatchMatcher(new Regex("^a+"));

            Assert.True(subj.Matches("aaaa"));
        }