public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
 {
     // must improve below description
     writer.WriteExpectedValue(expected);
     writer.WriteActualValue(actual);
     writer.WriteMessageLine("Expected within tolerance '{0}'.", tolerance);
 }
Пример #2
0
 public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
 {
     writer.WriteExpectedValue("Proxy");
 }
Пример #3
0
        public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
        {
            Guard.AgainstNull(writer, "writer");

            writer.WriteExpectedValue("Proxy");
        }
Пример #4
0
 public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
 {
     writer.WriteExpectedValue(expected);
     writer.WriteMessageLine("Expected within tolerance '{0}'.", tolerance);
 }