@Test
public void testHas2DCoordinates_IBond() {

    Atom atom1 = new Atom("C");
    atom1.setPoint2d(new Point2d(1, 1));
    Atom atom2 = new Atom("C");
    atom2.setPoint2d(new Point2d(1, 0));
    IBond bond = new Bond(atom1, atom2);
    Assert.assertTrue(GeometryTools.has2DCoordinates(bond));
    atom1 = new Atom("C");
    atom1.setPoint3d(new Point3d(1, 1, 1));
    atom2 = new Atom("C");
    atom2.setPoint3d(new Point3d(1, 0, 5));
    bond = new Bond(atom1, atom2);
    Assert.assertFalse(GeometryTools.has2DCoordinates(bond));
}