C# 클래스 Wv.Test.WvTest

파일 보기 프로젝트 열기: apenwarr/wvtest 1 사용 예제들

공개 메소드들

메소드 설명
DoMain ( ) : void
RegisterTest ( string name, System.Action tc ) : void
Run ( ) : int
WvTest ( )
booleanize ( bool x ) : bool
booleanize ( long x ) : bool
booleanize ( object o ) : bool
booleanize ( string s ) : bool
booleanize ( ulong x ) : bool
expect_next_failure ( ) : void
test ( bool ok, string file, int line, string s ) : bool
test_eq ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
test_eq ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool
test_exception ( string file, int line, string s ) : void
test_ne ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
test_ne ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool

메소드 상세

DoMain() 공개 정적인 메소드

public static DoMain ( ) : void
리턴 void

RegisterTest() 공개 메소드

public RegisterTest ( string name, System.Action tc ) : void
name string
tc System.Action
리턴 void

Run() 공개 메소드

public Run ( ) : int
리턴 int

WvTest() 공개 메소드

public WvTest ( )

booleanize() 공개 정적인 메소드

public static booleanize ( bool x ) : bool
x bool
리턴 bool

booleanize() 공개 정적인 메소드

public static booleanize ( long x ) : bool
x long
리턴 bool

booleanize() 공개 정적인 메소드

public static booleanize ( object o ) : bool
o object
리턴 bool

booleanize() 공개 정적인 메소드

public static booleanize ( string s ) : bool
s string
리턴 bool

booleanize() 공개 정적인 메소드

public static booleanize ( ulong x ) : bool
x ulong
리턴 bool

expect_next_failure() 공개 정적인 메소드

public static expect_next_failure ( ) : void
리턴 void

test() 공개 정적인 메소드

public static test ( bool ok, string file, int line, string s ) : bool
ok bool
file string
line int
s string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
cond1 IComparable
cond2 IComparable
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
cond1 bool
cond2 bool
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
cond1 decimal
cond2 decimal
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
cond1 double
cond2 double
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
cond1 long
cond2 long
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
cond1 object
cond2 object
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
cond1 string
cond2 string
file string
line int
s1 string
s2 string
리턴 bool

test_eq() 공개 정적인 메소드

public static test_eq ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool
cond1 ulong
cond2 ulong
file string
line int
s1 string
s2 string
리턴 bool

test_exception() 공개 정적인 메소드

public static test_exception ( string file, int line, string s ) : void
file string
line int
s string
리턴 void

test_ne() 공개 정적인 메소드

public static test_ne ( IComparable cond1, IComparable cond2, string file, int line, string s1, string s2 ) : bool
cond1 IComparable
cond2 IComparable
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( bool cond1, bool cond2, string file, int line, string s1, string s2 ) : bool
cond1 bool
cond2 bool
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( decimal cond1, decimal cond2, string file, int line, string s1, string s2 ) : bool
cond1 decimal
cond2 decimal
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( double cond1, double cond2, string file, int line, string s1, string s2 ) : bool
cond1 double
cond2 double
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( long cond1, long cond2, string file, int line, string s1, string s2 ) : bool
cond1 long
cond2 long
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( object cond1, object cond2, string file, int line, string s1, string s2 ) : bool
cond1 object
cond2 object
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( string cond1, string cond2, string file, int line, string s1, string s2 ) : bool
cond1 string
cond2 string
file string
line int
s1 string
s2 string
리턴 bool

test_ne() 공개 정적인 메소드

public static test_ne ( ulong cond1, ulong cond2, string file, int line, string s1, string s2 ) : bool
cond1 ulong
cond2 ulong
file string
line int
s1 string
s2 string
리턴 bool