<PackageReference Include="NUnit" Version="4.3.1" />

ClassicAssert

public abstract class ClassicAssert : Assert
The Assert class contains a collection of static methods that implement the most common assertions used in NUnit.
protected ClassicAssert()

public static void AreEqual(double expected, double actual, double delta, string message, object[] args)

Verifies that two doubles are equal considering a delta. If the expected value is infinity then the delta value is ignored. Returns without throwing an exception when inside a multiple assert block.

public static void AreEqual(double expected, double actual, double delta)

Verifies that two doubles are equal considering a delta. If the expected value is infinity then the delta value is ignored. Returns without throwing an exception when inside a multiple assert block.

public static void AreEqual(object expected, object actual, string message, object[] args)

Verifies that two objects are equal. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types. Returns without throwing an exception when inside a multiple assert block.

public static void AreEqual(object expected, object actual)

Verifies that two objects are equal. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types. Returns without throwing an exception when inside a multiple assert block.

public static void AreNotEqual(object expected, object actual, string message, object[] args)

Verifies that two objects are not equal. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types. Returns without throwing an exception when inside a multiple assert block.

public static void AreNotEqual(object expected, object actual)

Verifies that two objects are not equal. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types. Returns without throwing an exception when inside a multiple assert block.

public static void AreNotSame(object expected, object actual, string message, object[] args)

Asserts that two objects do not refer to the same object. Returns without throwing an exception when inside a multiple assert block.

public static void AreNotSame(object expected, object actual)

Asserts that two objects do not refer to the same object. Returns without throwing an exception when inside a multiple assert block.

public static void AreSame(object expected, object actual, string message, object[] args)

Asserts that two objects refer to the same object. Returns without throwing an exception when inside a multiple assert block.

public static void AreSame(object expected, object actual)

Asserts that two objects refer to the same object. Returns without throwing an exception when inside a multiple assert block.

protected static void AssertDoublesAreEqual(double expected, double actual, double delta, string message, object[] args)

Helper for Assert.AreEqual(double expected, double actual, ...) allowing code generation to work consistently.

public static void Contains(object expected, ICollection actual, string message, object[] args)

Asserts that an object is contained in a collection. Returns without throwing an exception when inside a multiple assert block.

public static void Contains(object expected, ICollection actual)

Asserts that an object is contained in a collection. Returns without throwing an exception when inside a multiple assert block.

public static bool Equals(object a, object b)

DO NOT USE! Use Assert.AreEqual(...) instead. The Equals method throws an InvalidOperationException. This is done to make sure there is no mistake by calling this function.

public static void False(bool? condition, string message, object[] args)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void False(bool condition, string message, object[] args)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void False(bool? condition)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void False(bool condition)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void Greater(int arg1, int arg2, string message, object[] args)

Verifies that the first int is greater than the second int. If it is not, then an AssertionException is thrown.

public static void Greater(int arg1, int arg2)

Verifies that the first int is greater than the second int. If it is not, then an AssertionException is thrown.

public static void Greater(uint arg1, uint arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(uint arg1, uint arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(long arg1, long arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(long arg1, long arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(ulong arg1, ulong arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(ulong arg1, ulong arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(decimal arg1, decimal arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(decimal arg1, decimal arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(double arg1, double arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(double arg1, double arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(float arg1, float arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(float arg1, float arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(IComparable arg1, IComparable arg2, string message, object[] args)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void Greater(IComparable arg1, IComparable arg2)

Verifies that the first value is greater than the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(int arg1, int arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(int arg1, int arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(uint arg1, uint arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(uint arg1, uint arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(long arg1, long arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(long arg1, long arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(ulong arg1, ulong arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(ulong arg1, ulong arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(decimal arg1, decimal arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(decimal arg1, decimal arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(double arg1, double arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(double arg1, double arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(float arg1, float arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(float arg1, float arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(IComparable arg1, IComparable arg2, string message, object[] args)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void GreaterOrEqual(IComparable arg1, IComparable arg2)

Verifies that the first value is greater than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void IsAssignableFrom(Type expected, object actual, string message, object[] args)

Asserts that an object may be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsAssignableFrom(Type expected, object actual)

Asserts that an object may be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsAssignableFrom<TExpected>(object actual, string message, object[] args)

Asserts that an object may be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsAssignableFrom<TExpected>(object actual)

Asserts that an object may be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsEmpty(string aString, string message, object[] args)

Assert that a string is empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsEmpty(string aString)

Assert that a string is empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsEmpty(IEnumerable collection, string message, object[] args)

Assert that an array, list or other collection is empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsEmpty(IEnumerable collection)

Assert that an array, list or other collection is empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsFalse(bool? condition, string message, object[] args)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void IsFalse(bool condition, string message, object[] args)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void IsFalse(bool? condition)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void IsFalse(bool condition)

Asserts that a condition is false. Returns without throwing an exception when inside a multiple assert block.

public static void IsInstanceOf(Type expected, object actual, string message, object[] args)

Asserts that an object is an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsInstanceOf(Type expected, object actual)

Asserts that an object is an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsInstanceOf<TExpected>(object actual, string message, object[] args)

Asserts that an object is an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsInstanceOf<TExpected>(object actual)

Asserts that an object is an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNaN(double aDouble, string message, object[] args)

Verifies that the double that is passed in is an NaN. Returns without throwing an exception when inside a multiple assert block.

public static void IsNaN(double aDouble)

Verifies that the double that is passed in is an NaN value. Returns without throwing an exception when inside a multiple assert block.

public static void IsNaN(double? aDouble, string message, object[] args)

Verifies that the double that is passed in is an NaN value. Returns without throwing an exception when inside a multiple assert block.

public static void IsNaN(double? aDouble)

Verifies that the double that is passed in is an NaN value. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotAssignableFrom(Type expected, object actual, string message, object[] args)

Asserts that an object may not be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotAssignableFrom(Type expected, object actual)

Asserts that an object may not be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotAssignableFrom<TExpected>(object actual, string message, object[] args)

Asserts that an object may not be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotAssignableFrom<TExpected>(object actual)

Asserts that an object may not be assigned a value of a given Type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotEmpty(string aString, string message, object[] args)

Assert that a string is not empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotEmpty(string aString)

Assert that a string is not empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotEmpty(IEnumerable collection, string message, object[] args)

Assert that an array, list or other collection is not empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotEmpty(IEnumerable collection)

Assert that an array, list or other collection is not empty. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotInstanceOf(Type expected, object actual, string message, object[] args)

Asserts that an object is not an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotInstanceOf(Type expected, object actual)

Asserts that an object is not an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotInstanceOf<TExpected>(object actual, string message, object[] args)

Asserts that an object is not an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotInstanceOf<TExpected>(object actual)

Asserts that an object is not an instance of a given type. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotNull(object anObject, string message, object[] args)

Verifies that the object that is passed in is not equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void IsNotNull(object anObject)

Verifies that the object that is passed in is not equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void IsNull(object anObject, string message, object[] args)

Verifies that the object that is passed in is equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void IsNull(object anObject)

Verifies that the object that is passed in is equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void IsTrue(bool? condition, string message, object[] args)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void IsTrue(bool condition, string message, object[] args)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void IsTrue(bool? condition)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void IsTrue(bool condition)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void Less(int arg1, int arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(int arg1, int arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(uint arg1, uint arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(uint arg1, uint arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(long arg1, long arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(long arg1, long arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(ulong arg1, ulong arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(ulong arg1, ulong arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(decimal arg1, decimal arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(decimal arg1, decimal arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(double arg1, double arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(double arg1, double arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(float arg1, float arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(float arg1, float arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(IComparable arg1, IComparable arg2, string message, object[] args)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void Less(IComparable arg1, IComparable arg2)

Verifies that the first value is less than the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(int arg1, int arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(int arg1, int arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(uint arg1, uint arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(uint arg1, uint arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(long arg1, long arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(long arg1, long arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(ulong arg1, ulong arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(ulong arg1, ulong arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(decimal arg1, decimal arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(decimal arg1, decimal arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(double arg1, double arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(double arg1, double arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(float arg1, float arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(float arg1, float arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(IComparable arg1, IComparable arg2, string message, object[] args)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void LessOrEqual(IComparable arg1, IComparable arg2)

Verifies that the first value is less than or equal to the second value. If it is not, then an AssertionException is thrown.

public static void Negative(int actual)

Asserts that an int is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(int actual, string message, object[] args)

Asserts that an int is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(uint actual)

Asserts that an unsigned int is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(uint actual, string message, object[] args)

Asserts that an unsigned int is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(long actual)

Asserts that a Long is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(long actual, string message, object[] args)

Asserts that a Long is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(ulong actual)

Asserts that an unsigned Long is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(ulong actual, string message, object[] args)

Asserts that an unsigned Long is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(decimal actual)

Asserts that a decimal is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(decimal actual, string message, object[] args)

Asserts that a decimal is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(double actual)

Asserts that a double is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(double actual, string message, object[] args)

Asserts that a double is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(float actual)

Asserts that a float is negative. Returns without throwing an exception when inside a multiple assert block.

public static void Negative(float actual, string message, object[] args)

Asserts that a float is negative. Returns without throwing an exception when inside a multiple assert block.

public static void NotNull(object anObject, string message, object[] args)

Verifies that the object that is passed in is not equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void NotNull(object anObject)

Verifies that the object that is passed in is not equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(int actual)

Asserts that an int is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(int actual, string message, object[] args)

Asserts that an int is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(uint actual)

Asserts that an unsigned int is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(uint actual, string message, object[] args)

Asserts that an unsigned int is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(long actual)

Asserts that a Long is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(long actual, string message, object[] args)

Asserts that a Long is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(ulong actual)

Asserts that an unsigned Long is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(ulong actual, string message, object[] args)

Asserts that an unsigned Long is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(decimal actual)

Asserts that a decimal is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(decimal actual, string message, object[] args)

Asserts that a decimal is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(double actual)

Asserts that a double is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(double actual, string message, object[] args)

Asserts that a double is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(float actual)

Asserts that a float is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void NotZero(float actual, string message, object[] args)

Asserts that a float is not zero. Returns without throwing an exception when inside a multiple assert block.

public static void Null(object anObject, string message, object[] args)

Verifies that the object that is passed in is equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void Null(object anObject)

Verifies that the object that is passed in is equal to null. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(int actual)

Asserts that an int is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(int actual, string message, object[] args)

Asserts that an int is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(uint actual)

Asserts that an unsigned int is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(uint actual, string message, object[] args)

Asserts that an unsigned int is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(long actual)

Asserts that a Long is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(long actual, string message, object[] args)

Asserts that a Long is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(ulong actual)

Asserts that an unsigned Long is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(ulong actual, string message, object[] args)

Asserts that an unsigned Long is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(decimal actual)

Asserts that a decimal is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(decimal actual, string message, object[] args)

Asserts that a decimal is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(double actual)

Asserts that a double is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(double actual, string message, object[] args)

Asserts that a double is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(float actual)

Asserts that a float is positive. Returns without throwing an exception when inside a multiple assert block.

public static void Positive(float actual, string message, object[] args)

Asserts that a float is positive. Returns without throwing an exception when inside a multiple assert block.

public static void ReferenceEquals(object a, object b)

DO NOT USE! The ReferenceEquals method throws an InvalidOperationException. This is done to make sure there is no mistake by calling this function.

public static void True(bool? condition, string message, object[] args)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void True(bool condition, string message, object[] args)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void True(bool? condition)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void True(bool condition)

Asserts that a condition is true. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(int actual)

Asserts that an int is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(int actual, string message, object[] args)

Asserts that an int is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(uint actual)

Asserts that an unsigned int is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(uint actual, string message, object[] args)

Asserts that an unsigned int is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(long actual)

Asserts that a Long is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(long actual, string message, object[] args)

Asserts that a Long is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(ulong actual)

Asserts that an unsigned Long is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(ulong actual, string message, object[] args)

Asserts that an unsigned Long is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(decimal actual)

Asserts that a decimal is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(decimal actual, string message, object[] args)

Asserts that a decimal is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(double actual)

Asserts that a double is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(double actual, string message, object[] args)

Asserts that a double is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(float actual)

Asserts that a float is zero. Returns without throwing an exception when inside a multiple assert block.

public static void Zero(float actual, string message, object[] args)

Asserts that a float is zero. Returns without throwing an exception when inside a multiple assert block.