AbstractSubGraph { public abstract boolean isSubgraph(boolean bondMatch);  abstract boolean isSubgraph(boolean bondMatch);  }
@Test public void testIsSubgraph() throws InvalidSmilesException { SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance()); IAtomContainer target = sp.parseSmiles("C\\C=C/Nc1cccc(c1)N(O)\\C=C\\C\\C=C\\C=C/C"); IAtomContainer queryac = sp.parseSmiles("Nc1ccccc1"); VFlibSubStructureHandler smsd1 = new VFlibSubStructureHandler(); MolHandler mol1 = new MolHandler(queryac, true, true); MolHandler mol2 = new MolHandler(target, true, true); smsd1.set(mol1, mol2); assertEquals(true, smsd1.isSubgraph(true)); }