Assert.AssertNonGenericAreEqualInterpolatedStringHandler Constructors
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
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Decimal, Decimal, Decimal, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, decimal expected, decimal actual, decimal delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler : int * int * decimal * decimal * decimal * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As Decimal, actual As Decimal, delta As Decimal, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- expected
- Decimal
The expected value being asserted.
- actual
- Decimal
The actual value being asserted.
- delta
- Decimal
The maximum allowed difference between the expected and actual values.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.
Applies to
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Double, Double, Double, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, double expected, double actual, double delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler : int * int * double * double * double * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As Double, actual As Double, delta As Double, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- expected
- Double
The expected value being asserted.
- actual
- Double
The actual value being asserted.
- delta
- Double
The maximum allowed difference between the expected and actual values.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.
Applies to
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Int64, Int64, Int64, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, long expected, long actual, long delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler : int * int * int64 * int64 * int64 * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As Long, actual As Long, delta As Long, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- expected
- Int64
The expected value being asserted.
- actual
- Int64
The actual value being asserted.
- delta
- Int64
The maximum allowed difference between the expected and actual values.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.
Applies to
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Single, Single, Single, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, float expected, float actual, float delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler : int * int * single * single * single * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As Single, actual As Single, delta As Single, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- expected
- Single
The expected value being asserted.
- actual
- Single
The actual value being asserted.
- delta
- Single
The maximum allowed difference between the expected and actual values.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.
Applies to
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, String, String, Boolean, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, string expected, string actual, bool ignoreCase, out bool shouldAppend);
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, string? expected, string? actual, bool ignoreCase, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler : int * int * string * string * bool * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As String, actual As String, ignoreCase As Boolean, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- expected
- String
The expected value being asserted.
- actual
- String
The actual value being asserted.
- ignoreCase
- Boolean
A value indicating whether the comparison ignores case.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.
Applies to
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, String, String, Boolean, CultureInfo, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, string expected, string actual, bool ignoreCase, System.Globalization.CultureInfo culture, out bool shouldAppend);
public AssertNonGenericAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, string? expected, string? actual, bool ignoreCase, System.Globalization.CultureInfo culture, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler : int * int * string * string * bool * System.Globalization.CultureInfo * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As String, actual As String, ignoreCase As Boolean, culture As CultureInfo, ByRef shouldAppend As Boolean)
Parameters
- literalLength
- Int32
The number of constant characters in the interpolated string.
- formattedCount
- Int32
The number of interpolation expressions in the interpolated string.
- expected
- String
The expected value being asserted.
- actual
- String
The actual value being asserted.
- ignoreCase
- Boolean
A value indicating whether the comparison ignores case.
- culture
- CultureInfo
The culture used for the string comparison.
- shouldAppend
- Boolean
When this method returns, indicates whether the interpolated string should be evaluated.