Ejemplo n.º 1
0
        public void DoesntRespectCultureWhenCasingMatters()
        {
            var constraint = new EqualConstraint("r\u00E9sum\u00E9");

            var result = constraint.ApplyTo("re\u0301sume\u0301");

            Assert.That(result.IsSuccess, Is.False);
        }
Ejemplo n.º 2
0
        public void RespectsCultureWhenCaseIgnored()
        {
            var constraint = new EqualConstraint("r\u00E9sum\u00E9").IgnoreCase;

            var result = constraint.ApplyTo("re\u0301sume\u0301");

            Assert.That(result.IsSuccess, Is.True);
        }