Assert.AreEqual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
Attributes
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
Attributes
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
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
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
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
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
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
Attributes
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
Attributes
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
AreEqual(Int64, Int64, String)
public static void AreEqual (long expected, long actual, string message);
static member AreEqual : int64 * int64 * string -> unit
Parameters
AreEqual(Object, Object, String)
public static void AreEqual (object expected, object actual, string message);
static member AreEqual : obj * obj * string -> unit
Parameters
AreEqual(Int32, Int32)
public static void AreEqual (int expected, int actual);
static member AreEqual : int * int -> unit
Parameters
AreEqual(Int64, Int64)
public static void AreEqual (long expected, long actual);
static member AreEqual : int64 * int64 -> unit
Parameters
AreEqual(Object, Object)
public static void AreEqual (object expected, object actual);
static member AreEqual : obj * obj -> unit
Parameters
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
Attributes
AreEqual(Decimal, Decimal)
public static void AreEqual (decimal expected, decimal actual);
static member AreEqual : decimal * decimal -> unit
Parameters
AreEqual(Decimal, Decimal, String)
public static void AreEqual (decimal expected, decimal actual, string message);
static member AreEqual : decimal * decimal * string -> unit
Parameters
AreEqual(Double, Double, Double)
public static void AreEqual (double expected, double actual, double delta);
static member AreEqual : double * double * double -> unit
Parameters
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
AreEqual(Int32, Int32, String)
public static void AreEqual (int expected, int actual, string message);
static member AreEqual : int * int * string -> unit
Parameters
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
Attributes