메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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. |
리턴 | void |
public AreNotEqual ( object expected, object actual, string message = null ) : void | ||
expected | object | |
actual | object | |
message | string | |
리턴 | void |