@Test
public void testDeepRecursion() throws Exception {

    IAtomContainer molecule = smiles.parseSmiles("CC([H])(CCCCCCCCCC)CCCCCCCCC");
    ILigand ligand1 = CIPTool.defineLigand(molecule, new VisitedAtoms(), 1, 3);
    ILigand ligand2 = CIPTool.defineLigand(molecule, new VisitedAtoms(), 1, 13);
    ISequenceSubRule<ILigand> rule = new CIPLigandRule();
    Assert.assertEquals(1, rule.compare(ligand1, ligand2));
    Assert.assertEquals(-1, rule.compare(ligand2, ligand1));
}