Summary
Compare two numeric values, performing the usual numeric conversions.
- Namespace
- TCLite
.Constraints - Containing Type
- Numerics
Syntax
public static int Compare<TExpected, TActual>(TExpected expected, TActual actual)
Type Parameters
Name | Description |
---|---|
TExpected | |
TActual |
Parameters
Name | Type | Description |
---|---|---|
expected | TExpected | The expected value |
actual | TActual | The actual value |
Return Value
Type | Description |
---|---|
int | The relationship of the values to each other |