Assert.AreEqual<T> Method (T, T)
Visual Studio 2010
Verifies that two specified generic type data are equal by using the equality operator. The assertion fails if they are not equal.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
The first generic type data to compare. This is the generic type data the unit test expects.
The second generic type data to compare. This is the generic type data the unit test produced.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.