Edit

Share via


Assert.AreEqual Method

Definition

Overloads

AreEqual(Double, Nullable<Double>, Double, String, Object[])
AreEqual(Double, Double, Double, String, Object[])
AreEqual(UInt64, UInt64, String, Object[])
AreEqual(UInt32, UInt32, String, Object[])
AreEqual(Object, Object, String, Object[])
AreEqual(Int64, Int64, String, Object[])
AreEqual(Double, Nullable<Double>, Double, String)
AreEqual(Double, Double, Double, String)
AreEqual(Decimal, Decimal, String, Object[])
AreEqual(UInt64, UInt64, String)
AreEqual(UInt32, UInt32, String)
AreEqual(Int32, Int32, String, Object[])
AreEqual(Int64, Int64, String)
AreEqual(Object, Object, String)
AreEqual(Int32, Int32)
AreEqual(Int64, Int64)
AreEqual(Object, Object)
AreEqual(UInt32, UInt32)
AreEqual(Decimal, Decimal)
AreEqual(Decimal, Decimal, String)
AreEqual(Double, Double, Double)
AreEqual(Double, Nullable<Double>, Double)
AreEqual(Int32, Int32, String)
AreEqual(UInt64, UInt64)

AreEqual(Double, Nullable<Double>, Double, String, Object[])

public static void AreEqual (double expected, Nullable<double> actual, double delta, string message, params object[] args);
static member AreEqual : double * Nullable<double> * double * string * obj[] -> unit

Parameters

expected
Double
actual
Nullable<Double>
delta
Double
message
String
args
Object[]

Applies to

AreEqual(Double, Double, Double, String, Object[])

public static void AreEqual (double expected, double actual, double delta, string message, params object[] args);
static member AreEqual : double * double * double * string * obj[] -> unit

Parameters

expected
Double
actual
Double
delta
Double
message
String
args
Object[]

Applies to

AreEqual(UInt64, UInt64, String, Object[])

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void AreEqual (ulong expected, ulong actual, string message, params object[] args);
static member AreEqual : uint64 * uint64 * string * obj[] -> unit

Parameters

expected
UInt64
actual
UInt64
message
String
args
Object[]
Attributes

Applies to

AreEqual(UInt32, UInt32, String, Object[])

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void AreEqual (uint expected, uint actual, string message, params object[] args);
static member AreEqual : uint32 * uint32 * string * obj[] -> unit

Parameters

expected
UInt32
actual
UInt32
message
String
args
Object[]
Attributes

Applies to

AreEqual(Object, Object, String, Object[])

public static void AreEqual (object expected, object actual, string message, params object[] args);
static member AreEqual : obj * obj * string * obj[] -> unit

Parameters

expected
Object
actual
Object
message
String
args
Object[]

Applies to

AreEqual(Int64, Int64, String, Object[])

public static void AreEqual (long expected, long actual, string message, params object[] args);
static member AreEqual : int64 * int64 * string * obj[] -> unit

Parameters

expected
Int64
actual
Int64
message
String
args
Object[]

Applies to

AreEqual(Double, Nullable<Double>, Double, String)

public static void AreEqual (double expected, Nullable<double> actual, double delta, string message);
static member AreEqual : double * Nullable<double> * double * string -> unit

Parameters

expected
Double
actual
Nullable<Double>
delta
Double
message
String

Applies to

AreEqual(Double, Double, Double, String)

public static void AreEqual (double expected, double actual, double delta, string message);
static member AreEqual : double * double * double * string -> unit

Parameters

expected
Double
actual
Double
delta
Double
message
String

Applies to

AreEqual(Decimal, Decimal, String, Object[])

public static void AreEqual (decimal expected, decimal actual, string message, params object[] args);
static member AreEqual : decimal * decimal * string * obj[] -> unit

Parameters

expected
Decimal
actual
Decimal
message
String
args
Object[]

Applies to

AreEqual(UInt64, UInt64, String)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void AreEqual (ulong expected, ulong actual, string message);
static member AreEqual : uint64 * uint64 * string -> unit

Parameters

expected
UInt64
actual
UInt64
message
String
Attributes

Applies to

AreEqual(UInt32, UInt32, String)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void AreEqual (uint expected, uint actual, string message);
static member AreEqual : uint32 * uint32 * string -> unit

Parameters

expected
UInt32
actual
UInt32
message
String
Attributes

Applies to

AreEqual(Int32, Int32, String, Object[])

public static void AreEqual (int expected, int actual, string message, params object[] args);
static member AreEqual : int * int * string * obj[] -> unit

Parameters

expected
Int32
actual
Int32
message
String
args
Object[]

Applies to

AreEqual(Int64, Int64, String)

public static void AreEqual (long expected, long actual, string message);
static member AreEqual : int64 * int64 * string -> unit

Parameters

expected
Int64
actual
Int64
message
String

Applies to

AreEqual(Object, Object, String)

public static void AreEqual (object expected, object actual, string message);
static member AreEqual : obj * obj * string -> unit

Parameters

expected
Object
actual
Object
message
String

Applies to

AreEqual(Int32, Int32)

public static void AreEqual (int expected, int actual);
static member AreEqual : int * int -> unit

Parameters

expected
Int32
actual
Int32

Applies to

AreEqual(Int64, Int64)

public static void AreEqual (long expected, long actual);
static member AreEqual : int64 * int64 -> unit

Parameters

expected
Int64
actual
Int64

Applies to

AreEqual(Object, Object)

public static void AreEqual (object expected, object actual);
static member AreEqual : obj * obj -> unit

Parameters

expected
Object
actual
Object

Applies to

AreEqual(UInt32, UInt32)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void AreEqual (uint expected, uint actual);
static member AreEqual : uint32 * uint32 -> unit

Parameters

expected
UInt32
actual
UInt32
Attributes

Applies to

AreEqual(Decimal, Decimal)

public static void AreEqual (decimal expected, decimal actual);
static member AreEqual : decimal * decimal -> unit

Parameters

expected
Decimal
actual
Decimal

Applies to

AreEqual(Decimal, Decimal, String)

public static void AreEqual (decimal expected, decimal actual, string message);
static member AreEqual : decimal * decimal * string -> unit

Parameters

expected
Decimal
actual
Decimal
message
String

Applies to

AreEqual(Double, Double, Double)

public static void AreEqual (double expected, double actual, double delta);
static member AreEqual : double * double * double -> unit

Parameters

expected
Double
actual
Double
delta
Double

Applies to

AreEqual(Double, Nullable<Double>, Double)

public static void AreEqual (double expected, Nullable<double> actual, double delta);
static member AreEqual : double * Nullable<double> * double -> unit

Parameters

expected
Double
actual
Nullable<Double>
delta
Double

Applies to

AreEqual(Int32, Int32, String)

public static void AreEqual (int expected, int actual, string message);
static member AreEqual : int * int * string -> unit

Parameters

expected
Int32
actual
Int32
message
String

Applies to

AreEqual(UInt64, UInt64)

Important

This API is not CLS-compliant.

[System.CLSCompliant(false)]
public static void AreEqual (ulong expected, ulong actual);
static member AreEqual : uint64 * uint64 -> unit

Parameters

expected
UInt64
actual
UInt64
Attributes

Applies to