public class TestUtils extends 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 valueCopyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.