@Test public void testDoubleBondSupport5() throws StructureBuildingException { Fragment f = fm.buildSMILES("C/C=N\\O"); fm.makeHydrogensExplicit(); String smiles = SMILESWriter.generateSmiles(f); if (!smiles.equals("C/C=N\\O") && !smiles.equals("C\\C=N/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);   }