code: def _assert_bounds(self, bounds, x1, y1, x2, y2, delta=1):
      assert abs(bounds[0] - x1) < delta
      assert abs(bounds[1] - y1) < delta
      assert abs(bounds[2] - x2) < delta
      assert abs(bounds[3] - y2) < delta
  
imports: import numpy
  import pytest
  import shapely.geometry
  import shapely.wkt
  import cartopy.crs
label_desc: Use image node_id 1 for calling the PolygonTests obj's underlying member method code with example usage: obj._assert_bounds(bounds, x1, y1, x2, y2, delta) without return types