public void DoesntRespectCultureWhenCasingMatters() { var constraint = new EqualConstraint("r\u00E9sum\u00E9"); var result = constraint.ApplyTo("re\u0301sume\u0301"); Assert.That(result.IsSuccess, Is.False); }
public void RespectsCultureWhenCaseIgnored() { var constraint = new EqualConstraint("r\u00E9sum\u00E9").IgnoreCase; var result = constraint.ApplyTo("re\u0301sume\u0301"); Assert.That(result.IsSuccess, Is.True); }