C# Class Assert, gert

Afficher le fichier Open project: mono/gert Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static AreEqual ( string a, string b, string comment ) : int
a string
b string
comment string
Résultat int

AreEqual() public static méthode

public static AreEqual ( int x, int y, string msg ) : void
x int
y int
msg string
Résultat void

AreEqual() public static méthode

public static AreEqual ( object x, object y, string msg ) : void
x object
y object
msg string
Résultat void

AreEqual() public static méthode

public static AreEqual ( string x, string y, string msg ) : void
x string
y string
msg string
Résultat void

AreSame() public static méthode

public static AreSame ( object x, object y, string msg ) : void
x object
y object
msg string
Résultat void

Fail() public static méthode

public static Fail ( string msg ) : void
msg string
Résultat void

IsFalse() public static méthode

public static IsFalse ( bool value, string msg ) : void
value bool
msg string
Résultat void

IsNotNull() public static méthode

public static IsNotNull ( object value, string msg ) : void
value object
msg string
Résultat void

IsNull() public static méthode

public static IsNull ( object value, string msg ) : void
value object
msg string
Résultat void

IsTrue() public static méthode

public static IsTrue ( bool value, string msg ) : void
value bool
msg string
Résultat void