public void GivenIdenticalStringsWithPunctuationShouldCompareEqual() { var one = "This isn't something"; var two = "This isn-t something."; var comparer = new IgnorePunctuationComparer(); Assert.True(comparer.Equals(one, two)); }
public void GivenIdenticalStringsWithCaseDifferenceAndPunctuationShouldCompareEqual() { var one = "ThiS iSn'T soMething"; var two = "This isnt some-thing."; var comparer = new IgnorePunctuationComparer(); Assert.True(comparer.Equals(one, two)); }