csUnit Class Library

Assert.Equals Method

Asserts that the difference between two doubles is not larger than a permitted delta.

Overload List

Asserts that the difference between two doubles is not larger than a permitted delta.

public static void Equals(double,double,double);

Asserts that the difference between two doubles is not larger than a permitted delta.

public static void Equals(double,double,double,string);

Assert the equality of two short primitives and emit the default message when they are not equal.

public static void Equals(short,short);

Assert the equality of two short primitive types and issues a custom message if it is not String.Empty

public static void Equals(short,short,string);

Assert the equality of two integer primitives and emit the default message when they are not equal.

public static void Equals(int,int);

Assert the equality of two integer primitive types and issues a custom message if it is not String.Empty

public static void Equals(int,int,string);

Assert the equality of two long primitives and emit the default message when they are not equal.

public static void Equals(long,long);

Assert the equality of two long primitive types and issues a custom message if it is not String.Empty

public static void Equals(long,long,string);

Inherited from Object.

public virtual bool Equals(object);

Assert two objects are equal.

new public static void Equals(object,object);

Assert two objects are equal.

public static void Equals(object,object,string);

Asserts that the difference between two Singles is not larger than a permitted delta.

public static void Equals(float,float,float);

Asserts that the difference between two Singles is not larger than a permitted delta.

public static void Equals(float,float,float,string);

See Also

Assert Class | csUnit Namespace