NUnit.Framework.AssertionFailureMessage.InputsAreStrings(object, object)

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

2 Examples 7

1. Example

Project: 32feet
Source File: AssertionFailureMessage.cs
View license
public void DisplayDifferences( object expected, object actual, bool caseInsensitive )
		{
			if( InputsAreStrings( expected, actual ) )
			{
				DisplayStringDifferences( 
					(string)expected, 
					(string)actual,
					caseInsensitive );
			}
			else
			{
				DisplayExpectedAndActual( expected, actual );
			}
		}

2. Example

Project: 32feet
Source File: AssertionFailureMessage.cs
View license
public void DisplayDifferences( object expected, object actual, bool caseInsensitive )
		{
			if( InputsAreStrings( expected, actual ) )
			{
				DisplayStringDifferences( 
					(string)expected, 
					(string)actual,
					caseInsensitive );
			}
			else
			{
				DisplayExpectedAndActual( expected, actual );
			}
		}