@Test public void canoncalise() throws IOException {

    Graph g = Graph.fromSmiles("CCOCC");
    Graph h = Functions.canonicalize(g,
                                     new long[]{56, 67, 3, 67, 56});
    assertThat(h.toSmiles(),
               is("O(CC)CC"));
}