Description 描述
A float comparer used by Assert performing approximate comparison.
Static Properties
| kEpsilon | Default epsilon used by the comparer. | ||
| s_ComparerWithDefaultTolerance | Default instance of a comparer class with deafult error epsilon and absolute error check. |
Constructors
| FloatComparer | Creates an instance of the comparer. |
Static Methods 静态方法
| AreEqual | Performs equality check with absolute error check. | ||
| AreEqualRelative | Performs equality check with relative error check. |