From 499355c56e76a36873733a472ddc1f0eae5f9521 Mon Sep 17 00:00:00 2001 From: Kenn Cartier Date: Tue, 27 Aug 2024 14:00:29 -0700 Subject: [PATCH] Removed size count since varies between runs --- tests/test_layer_dimensions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_layer_dimensions.py b/tests/test_layer_dimensions.py index 84fa669..15768d6 100644 --- a/tests/test_layer_dimensions.py +++ b/tests/test_layer_dimensions.py @@ -9,13 +9,10 @@ def test_ndvi_dimensions(): data = NdviSentinel2(year=2023).get_data(BBOX) data_for_map = post_process_layer(data, value_threshold=0.4, convert_to_percentage=True) - expected_size = 37213 - actual_size = data_for_map.size expected_min = 0 actual_min = data_for_map.values.min() expected_max = 85 actual_max = data_for_map.values.max() - assert actual_size == expected_size assert actual_min == expected_min assert actual_max == expected_max