NUnit.Framework.AssertionFailureMessage.WriteExpectedLine(string)

Here are the examples of the csharp api NUnit.Framework.AssertionFailureMessage.WriteExpectedLine(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 Source : AssertionFailureMessage.cs
with MIT License
from GrapeCity

public void DisplayExpectedValue( object expected )
		{
			WriteExpectedLine( FormatObjectForDisplay( expected ) );
		}

19 Source : AssertionFailureMessage.cs
with MIT License
from GrapeCity

public void DisplayExpectedValue( double expected, double tolerance )
		{
			WriteExpectedLine( FormatObjectForDisplay( expected ) + " +/- " + tolerance.ToString() );
		}