コード例 #1
0
 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(expected);
     writer.WriteMessageLine("Expected within tolerance '{0}'.", tolerance);
 }