@Test public void testDoubleBondSupport6() throws StructureBuildingException { Fragment f = fm.buildSMILES("O=C(/C=C(C(O)=O)\\C=C/C(O)=O)O"); fm.makeHydrogensExplicit(); String smiles = SMILESWriter.generateSmiles(f); if (!smiles.equals("O=C(/C=C(/C(O)=O)\\C=C/C(O)=O)O") && !smiles.equals("O=C(\\C=C(\\C(O)=O)/C=C\\C(O)=O)O")){ fail(smiles +" did not correspond to one of the expected SMILES strings"); } }
static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles); }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles);  }
SMILESWriter { static String generateSmiles(Fragment structure) { return new SMILESWriter(structure, false).writeSmiles(); } private  SMILESWriter(Fragment structure, boolean outputExtendedSmiles);   }