@Test
public void testHas3DCoordinates_IAtomContainer() {

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