C# 클래스 Rubberduck.UnitTesting.PermissiveAssertClass

상속: AssertClass
파일 보기 프로젝트 열기: retailcoder/Rubberduck

공개 메소드들

메소드 설명
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.

메소드 상세

AreEqual() 공개 메소드

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
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

AreNotEqual() 공개 메소드

public AreNotEqual ( object expected, object actual, string message = null ) : void
expected object
actual object
message string
리턴 void