@Test
public void testEquals() {

    assertTrue(valueOf(A, B, C).equals(valueOf(A, B, C)));
    assertFalse(valueOf(B, C, A).equals(valueOf(A, B, C)));
    assertFalse(valueOf(A, B).equals(valueOf(A, B, C)));
    assertTrue(valueOf(A, B).equals(valueOf(A, B, 0)));
    assertTrue(valueOf(0).equals(valueOf(0, 0, 0)));
    assertTrue(valueOf(0).equals(valueOf(EPS)));
    assertTrue(valueOf(EPS * 2).equals(valueOf(EPS * 2)));
    assertTrue(valueOf(666).equals(valueOf(666 + EPS)));
}