@Test
public void coords2d() {

    CxSmilesState state = new CxSmilesState();
    state.atomCoords = Arrays.asList(new double[]{0, 1.5, 0},
                                     new double[]{0, 3, 0},
                                     new double[]{1.5, 1.5, 0});
    assertThat(CxSmilesGenerator.generate(state, SmiFlavor.CxCoordinates, new int[0], new int[]{1, 2, 0}),
               is(" |(1.5,1.5,;,1.5,;,3,)|"));
}