@Test
public void testLingoSim() throws Exception {

    IAtomContainer mol1 = TestMoleculeFactory.makeIndole();
    IAtomContainer mol2 = TestMoleculeFactory.makeIndole();
    addImplicitHydrogens(mol1);
    addImplicitHydrogens(mol2);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol1);
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol2);
    LingoFingerprinter fingerprinter = new LingoFingerprinter();
    Map<String, Integer> bs1 = fingerprinter.getRawFingerprint(mol1);
    Map<String, Integer> bs2 = fingerprinter.getRawFingerprint(mol2);
    float lingosim = LingoSimilarity.calculate(bs1, bs2);
    Assert.assertEquals(1.0, lingosim, 0.01);
}