Method | Description | |
---|---|---|
AreEqual ( object expected, object actual, string message = null ) : void |
Verifies that two specified objects are equal as considered equal under the loose terms of VBA equality. As such the assertion fails, if the objects are not equal, even after applying VBA Type promotions. contrary to AssertClass.AreEqual expected and actual are not required to be of the same type |
|
AreNotEqual ( object expected, object actual, string message = null ) : void |
Method | Description | |
---|---|---|
RunTypePromotions ( object &expected, object &actual ) : bool |
Runs applicable type promotions for number types.
|
public AreEqual ( object expected, object actual, string message = null ) : void | ||
expected | object | The expected value. |
actual | object | The actual value. |
message | string | An optional message to display if the assertion fails. |
return | void |
public AreNotEqual ( object expected, object actual, string message = null ) : void | ||
expected | object | |
actual | object | |
message | string | |
return | void |