@Test
public void testDoublesEquals() {

    assertTrue(Doubles.equals(0, 0, EPS));
    assertTrue(Doubles.equals(666, 666, EPS));
    assertTrue(Doubles.equals(666, 666 + EPS, EPS));
    assertTrue(Doubles.equals(666, 666 - EPS, EPS));
    assertFalse(Doubles.equals(666, 666 + EPS * 2, EPS));
    assertFalse(Doubles.equals(666, 666 - EPS * 2, EPS));
}