@Test
public void testHas2DCoordinates_Partial() {

    IAtomContainer container = new AtomContainer();
    Atom atom1 = new Atom("C");
    Atom atom2 = new Atom("C");
    atom1.setPoint2d(new Point2d(1, 1));
    container.addAtom(atom1);
    Assert.assertTrue(GeometryTools.has2DCoordinates(container));
    container.addAtom(atom2);
    Assert.assertFalse(GeometryTools.has2DCoordinates(container));
}