Asserts that the two supplied colours have identical R, G and B values.

Namespace:  NUnit.Extensions
Assembly:  NUnit.Extensions (in NUnit.Extensions.dll) Version: 0.1.3593.29695

Syntax

C#
public static void AreEqual(
	Color expected,
	Color actual,
	string info
)
Visual Basic (Declaration)
Public Shared Sub AreEqual ( _
	expected As Color, _
	actual As Color, _
	info As String _
)
Visual C++
public:
static void AreEqual(
	Color expected, 
	Color actual, 
	String^ info
)

Parameters

expected
Type: System.Drawing..::.Color
The expected colour
actual
Type: System.Drawing..::.Color
The actual colour
info
Type: System..::.String
Any additional information to be displayed if an assert fails.

See Also