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);
 }
 public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
 {
     writer.WriteExpectedValue("Proxy");
 }
Esempio n. 3
0
 public override void WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter writer)
 {
     writer.WriteActualValue(actual);
 }
Esempio n. 4
0
        public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
        {
            Guard.AgainstNull(writer, "writer");

            writer.WriteExpectedValue("Proxy");
        }
Esempio n. 5
0
 public override void WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter writer)
 {
     writer.WriteExpectedValue(expected);
     writer.WriteMessageLine("Expected within tolerance '{0}'.", tolerance);
 }