JUnit
The standard Java unit-testing framework (JUnit 5 / Jupiter).
Easy
@Test void dividerHalves() { assertEquals(2.5, Divider.out(5, 1000, 1000), 1e-9); }
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.