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" })); }
public void Matches_should_detect_substrings_nominal() { var subj = new SetEqualMatcher <string>(new [] { "a", "b", "c" }); Assert.True(subj.Matches(new [] { "c", "a", "b" })); }