public class TestUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
TOLERANCE |
Modifier and Type | Method and Description |
---|---|
static void |
assertEqualsWithTolerance(double expected,
double actual)
Assert equals with a tolerance factor of
TOLERANCE times the expected value |
public static final double TOLERANCE
public static void assertEqualsWithTolerance(double expected, double actual)
TOLERANCE
times the expected valueexpected
- expected valueactual
- the actual value