I have a question about JUnit assertEquals
to test double
values. Reading the API doc I can see:
@Deprecated public static void assertEquals(double expected, double actual)
Deprecated. Use
assertEquals(double expected, double actual, double delta)
instead.
(Note: in older documentation versions, the delta parameter is called epsilon)
What does the delta
(or epsilon
) parameter mean?