public void NamesMatch_IgnoreCase () { var p = new PropertyGroupDescription (null, null, StringComparison.OrdinalIgnoreCase); Assert.IsTrue (p.NamesMatch ("a", "A"), "#1"); }
public void NamesMatch_NotConverterToString () { var p = new PropertyGroupDescription (null, null, StringComparison.OrdinalIgnoreCase); Assert.IsFalse (p.NamesMatch ('a', 'A'), "#1"); }
public void NamesMatch_DifferentStrings () { var p = new PropertyGroupDescription (null, null, StringComparison.OrdinalIgnoreCase); Assert.IsFalse (p.NamesMatch ("a", "B"), "#1"); }