@Test
public void valueOf() throws Exception {

    GeometricParity odd = GeometricParity.valueOf(-1);
    GeometricParity even = GeometricParity.valueOf(1);
    assertThat(odd.parity(), is(-1));
    assertThat(even.parity(), is(+1));
}