C# Class Assert, gert

Mostrar archivo Open project: mono/gert Class Usage Examples

Public Methods

Method Description
AreEqual ( string a, string b, string comment ) : int
AreEqual ( int x, int y, string msg ) : void
AreEqual ( object x, object y, string msg ) : void
AreEqual ( string x, string y, string msg ) : void
AreSame ( object x, object y, string msg ) : void
Fail ( string msg ) : void
IsFalse ( bool value, string msg ) : void
IsNotNull ( object value, string msg ) : void
IsNull ( object value, string msg ) : void
IsTrue ( bool value, string msg ) : void

Method Details

AreEqual() public static method

public static AreEqual ( string a, string b, string comment ) : int
a string
b string
comment string
return int

AreEqual() public static method

public static AreEqual ( int x, int y, string msg ) : void
x int
y int
msg string
return void

AreEqual() public static method

public static AreEqual ( object x, object y, string msg ) : void
x object
y object
msg string
return void

AreEqual() public static method

public static AreEqual ( string x, string y, string msg ) : void
x string
y string
msg string
return void

AreSame() public static method

public static AreSame ( object x, object y, string msg ) : void
x object
y object
msg string
return void

Fail() public static method

public static Fail ( string msg ) : void
msg string
return void

IsFalse() public static method

public static IsFalse ( bool value, string msg ) : void
value bool
msg string
return void

IsNotNull() public static method

public static IsNotNull ( object value, string msg ) : void
value object
msg string
return void

IsNull() public static method

public static IsNull ( object value, string msg ) : void
value object
msg string
return void

IsTrue() public static method

public static IsTrue ( bool value, string msg ) : void
value bool
msg string
return void