GeoPandas includes specific functions to test its objects.
testing.assert_geoseries_equal(left, right)
testing.assert_geoseries_equal
Test util for checking that two GeoSeries are equal.
testing.assert_geodataframe_equal(left, right)
testing.assert_geodataframe_equal
Check that two GeoDataFrames are equal/