Verifies that two floats are equal considering a delta. If the
expected value is infinity then the delta value is ignored. If
they are not equals then an AssertionException is
thrown.
Namespace: MbUnit.Framework
Assembly: MbUnit.Framework (in MbUnit.Framework.dll)
Syntax
| C# | Visual Basic | Visual C++ |
Parameters
- expected
- Single
The expected value
- actual
- Single
The actual value
- delta
- Single
The maximum acceptable difference between the the expected and the actual
See Also
Assert Class
MbUnit.Framework Namespace