Assert.Equals Method
Determines whether two objects are equal.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Parameters
- objA
- Type: System.Object
An object that can be cast to an Assert instance.
- objB
- Type: System.Object
An object that can be cast to an Assert instance.
- 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.
Does it work?
This function seems to fail all the time:$0
$0
For example:$0
$0
Assert.Equals(2, 2);
- 8/30/2011
- Andrian_Gorohovschi