Summary
Asserts that two doubles are equal within the specified
tolerance. If not, a TCLite.AssertionException is
thrown, ending the test and reporting it as a Failure.
Syntax
public static void AreEqual(double expected, double actual, double delta, string message = null, params object[] args)
Parameters
| Name |
Type |
Description |
| expected |
double |
The expected value |
| actual |
double |
The actual value |
| delta |
double |
The maximum acceptable difference between the
the expected and the actual |
| message |
string |
The message to display in case of failure |
| args |
object[] |
Array of objects to be used in formatting the message |
Return Value