@Test
public void testItself() throws Exception {

    String smiles = "C1CCCCCCC1CC";
    QueryAtomContainer query = QueryAtomContainerCreator.createAnyAtomContainer(new SmilesParser(
            DefaultChemObjectBuilder.getInstance()).parseSmiles(smiles), true);
    IAtomContainer ac = new SmilesParser(DefaultChemObjectBuilder.getInstance()).parseSmiles(smiles);
    if (standAlone) {
        System.out.println("AtomCount of query: " + query.getAtomCount());
        System.out.println("AtomCount of target: " + ac.getAtomCount());
    }
    boolean matched = CDKMCS.isSubgraph(ac, query, true);
    if (standAlone) {
        System.out.println("QueryAtomContainer matched: " + matched);
    }
    if (!standAlone) {
        Assert.assertTrue(matched);
    }
}