Class Assert
Inheritance
System.Object
Assert
Assembly: Cosmos.TestRunner.TestController.dll
Syntax
public static class Assert : object
Methods
|
Improve this Doc
View Source
AreEqual(Int32, Int32, String, String, Int32)
Declaration
public static void AreEqual(int expected, int actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
expected |
|
System.Int32 |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
AreEqual(String, String, String, String, Int32)
Declaration
public static void AreEqual(string expected, string actual, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.String |
expected |
|
System.String |
actual |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
IsFalse(Boolean, String, String, Int32)
Declaration
public static void IsFalse(bool condition, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Boolean |
condition |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|
|
Improve this Doc
View Source
IsTrue(Boolean, String, String, Int32)
Declaration
public static void IsTrue(bool condition, string message, string file = null, int line = 0)
Parameters
Type |
Name |
Description |
System.Boolean |
condition |
|
System.String |
message |
|
System.String |
file |
|
System.Int32 |
line |
|