From 2769666d3a7e4a81f58649341125e64c062fdc43 Mon Sep 17 00:00:00 2001 From: "Soroosh.Mani" Date: Tue, 10 Oct 2023 09:41:58 -0400 Subject: [PATCH] Further debug hfunfast extent test --- tests/api/hfun.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/api/hfun.py b/tests/api/hfun.py index c00cb6f0..46083de5 100755 --- a/tests/api/hfun.py +++ b/tests/api/hfun.py @@ -485,10 +485,12 @@ def test_hfun_fast_extent(self): "Areas", hfun_box.area, rast_box.area, - rast_box.difference(hfun_box).area + rast_box.buffer(-0.005 * np.sqrt(rast_box.area)).area, + rast_box.buffer(-0.005 * np.sqrt(rast_box.area)).difference( + hfun_box).area ) self.assertTrue(hfun_box.covers( - rast_box.buffer(-0.002 * np.sqrt(rast_box.area)) + rast_box.buffer(-0.005 * np.sqrt(rast_box.area)) ))