java.lang.Object
de.s42.base.testing.AssertHelper
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final double
static final float
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic void
assertEpsilonEquals
(double actual, double expected) static void
assertEpsilonEquals
(double actual, double expected, String message) static void
assertEpsilonEquals
(float actual, float expected) static void
assertEpsilonEquals
(float actual, float expected, String message) static void
assertStartsWith
(String actual, String expectedStart) static void
assertStartsWith
(String actual, String expectedStart, String message) static boolean
epsilonEquals
(double actual, double expected) static boolean
epsilonEquals
(float actual, float expected)
-
Felddetails
-
FLOAT_EPSILON
public static final float FLOAT_EPSILON- Siehe auch:
-
DOUBLE_EPSILON
public static final double DOUBLE_EPSILON- Siehe auch:
-
-
Konstruktordetails
-
AssertHelper
public AssertHelper()
-
-
Methodendetails
-
assertEpsilonEquals
- Löst aus:
AssertionError
-
assertEpsilonEquals
- Löst aus:
AssertionError
-
assertEpsilonEquals
public static void assertEpsilonEquals(double actual, double expected, String message) throws AssertionError - Löst aus:
AssertionError
-
assertEpsilonEquals
public static void assertEpsilonEquals(float actual, float expected, String message) throws AssertionError - Löst aus:
AssertionError
-
epsilonEquals
public static boolean epsilonEquals(float actual, float expected) -
epsilonEquals
public static boolean epsilonEquals(double actual, double expected) -
assertStartsWith
-
assertStartsWith
-