@Test public void resetRingNumbersBetweenComponents1() throws Exception { Graph g = Graph.fromSmiles("C1CC1.C1CC1"); assertThat(new Generator(g, new Generator.ReuseRingNumbering(1)).string(), is("C1CC1.C1CC1")); }
String string() { return sb.toString(); }
Generator { String string() { return sb.toString(); } }
Generator { String string() { return sb.toString(); } Generator(Graph g, RingNumbering rnums);   Generator(Graph g, int[] visitedAt, RingNumbering rnums); }
Generator { String string() { return sb.toString(); } Generator(Graph g, RingNumbering rnums);   Generator(Graph g, int[] visitedAt, RingNumbering rnums);  }
Generator { String string() { return sb.toString(); } Generator(Graph g, RingNumbering rnums);   Generator(Graph g, int[] visitedAt, RingNumbering rnums);   }