Exemplo n.º 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" }));
        }
Exemplo n.º 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" }));
        }