Assert.AreEqual Method (Object, Object)
Verifies that two specified objects are equal. The assertion fails if the objects are not equal.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Different numeric types are treated as equal if the logical values are equal. For example, 42L is equal to 42.
Return to top