def test_translate_tuple(self):
        trans = self.sol.x - self.esb.x, self.sol.y - self.esb.y
        self.assert_(self.landmarks.translate(*trans)[0].equals(self.sol))

        res = self.gdf1.set_geometry(self.landmarks).translate(*trans)[0]
        self.assert_(res.equals(self.sol))
dataset/ETHPy150Open geopandas/geopandas/geopandas/tests/test_geom_methods.py/TestGeomMethods.test_translate_tuple/original