Exemplo n.º 1
0
        public void Matches_should_detect_prefix_failure()
        {
            var subj = new StartWithMatcher <string>(new[] { "z" });

            Assert.False(subj.Matches(new[] { "a", "b", "c" }));
        }
Exemplo n.º 2
0
        public void Matches_should_detect_prefix_nominal()
        {
            var subj = new StartWithMatcher <string>(new[] { "a" });

            Assert.True(subj.Matches(new[] { "a", "b", "c" }));
        }