C# 클래스 Testeroids.Assert

The Assert class extends the NUnit.Framework.Assert to make it aware of Nullable{T} values. When the value is null, it means the Act part of the test has not been run.
상속: NUnit.Framework.Assert
파일 보기 프로젝트 열기: Testeroids/Testeroids 1 사용 예제들

공개 메소드들

메소드 설명
IsFalse ( bool condition ) : void

Asserts that a condition is false. If the condition is true the method throws an .

IsTrue ( bool condition ) : void

Asserts that a condition is true. If the condition is true the method throws an .

비공개 메소드들

메소드 설명
AreEqual ( ITesteroidsMock expected, object actual ) : void
AreEqual ( ITesteroidsMock expected, object actual, string message ) : void
AreEqual ( int expected, int actual ) : void
AreEqual ( object expected, ITesteroidsMock actual ) : void
AreEqual ( object expected, ITesteroidsMock actual, string message ) : void
AreNotEqual ( int expected, int actual ) : void
AreSame ( ITesteroidsMock expected, object actual ) : void
AreSame ( ITesteroidsMock expected, object actual, string message ) : void
AreSame ( object expected, ITesteroidsMock actual ) : void
AreSame ( object expected, ITesteroidsMock actual, string message ) : void
Greater ( int expected, int actual ) : void
GreaterOrEqual ( int expected, int actual ) : void
Less ( int expected, int actual ) : void
LessOrEqual ( int expected, int actual ) : void

메소드 상세

IsFalse() 공개 정적인 메소드

Asserts that a condition is false. If the condition is true the method throws an .
public static IsFalse ( bool condition ) : void
condition bool The evaluated condition
리턴 void

IsTrue() 공개 정적인 메소드

Asserts that a condition is true. If the condition is true the method throws an .
public static IsTrue ( bool condition ) : void
condition bool The evaluated condition
리턴 void