IntegerAssertions<T> Class
Definition
Provides assertions for integer values.
c#
public sealed class IntegerAssertions<T> : NumericAssertions<IntegerAssertions<T>, T>
where T : struct, IBinaryInteger<T>Type Parameters
| Name | Description |
|---|---|
T | The integer type of the value being asserted on. |
Constructors
| Name | Description |
|---|---|
IntegerAssertions(T) | Provides assertions for integer values. |
Methods
| Name | Description |
|---|---|
Equal<TOther>(TOther) | Asserts that the integer value is equal to the expected value. Supports comparing integer values of different types. |
NotEqual<TOther>(TOther) | Asserts that the integer value is not equal to the expected value. Supports comparing integer values of different types. |