예제 #1
0
        public void Matches_should_detect_strings_string_comparison()
        {
            var subj = new SetEqualMatcher <string>(new [] { "a", "b", "c" }, StringComparer.OrdinalIgnoreCase);

            Assert.True(subj.Matches(new [] { "c", "A", "B" }));
        }
예제 #2
0
        public void Matches_should_detect_substrings_nominal()
        {
            var subj = new SetEqualMatcher <string>(new [] { "a", "b", "c" });

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