@Test public void directedHashCode() {

    assertThat(new Edge(0, 1, Bond.UP).hashCode(),
               is(new Edge(1, 0, Bond.DOWN).hashCode()));
    assertThat(new Edge(0, 1, Bond.UP).hashCode(),
               is(new Edge(1, 0, Bond.UP).hashCode()));
}