@Test
public void testCompare() {

    IAtomType at = new AtomType("C4", "C");
    if (at instanceof org.openscience.cdk.AtomType) {
        org.openscience.cdk.AtomType at1 = (org.openscience.cdk.AtomType) at;
        IAtomType at2 = at.getBuilder().newInstance(IAtomType.class, "C3", "C");
        Assert.assertFalse(at1.compare("C4"));
        Assert.assertFalse(at1.compare(at2));
    }
}