다음을 통해 공유


Assert.True 메서드

정의

오버로드

True(Boolean, String)

조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.

True(Boolean)

조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.

True(Boolean, String, Object[])

조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.

True(Boolean, String)

조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.

public static void True(bool condition, string message);
static member True : bool * string -> unit

매개 변수

condition
Boolean

평가된 조건

message
String

조건이 false이면 표시할 메시지입니다.

적용 대상

True(Boolean)

조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.

public static void True(bool condition);
static member True : bool -> unit

매개 변수

condition
Boolean

평가된 조건

적용 대상

True(Boolean, String, Object[])

조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.

public static void True(bool condition, string message, params object[] args);
static member True : bool * string * obj[] -> unit

매개 변수

condition
Boolean

평가된 조건

message
String

조건이 false이면 표시할 메시지입니다.

args
Object[]

메시지 서식 지정에 사용할 인수

적용 대상