From 2d16b602a1c1a0b3ccbaa2ef9a6f5010921d3637 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 9 Feb 2024 15:33:17 +0100 Subject: [PATCH] edit wrong testnumber --- .../test/test_alg_excavation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/geovita_processing_plugin/test/test_alg_excavation.py b/geovita_processing_plugin/test/test_alg_excavation.py index 379997d..41cb66e 100644 --- a/geovita_processing_plugin/test/test_alg_excavation.py +++ b/geovita_processing_plugin/test/test_alg_excavation.py @@ -210,7 +210,7 @@ def test_output_verification_with_all_params(self): if feature["sv_tot"] > 0.100: feature_count_sv_tot_greater_than_01 += 1 - # Example verification: Check if the counted features match the expected value + # Check if the counted features match the expected value expected_feature_corner_count = ( 11 # Hypothetical expected number of features with sv_tot > 0.1 ) @@ -225,15 +225,15 @@ def test_output_verification_with_all_params(self): results["OUTPUT_WALL"], "Output Corners", "ogr" ) - # Iterate over features and count those with sv_tot > 0.1 + # Iterate over features and count those with slope_ang > 0.1 feature_count_slope_ang_greater_than_0 = 0 for feature in output_wall_layer.getFeatures(): if feature["slope_ang"] > 0: feature_count_slope_ang_greater_than_0 += 1 - # Example verification: Check if the counted features match the expected value + # Check if the counted features match the expected value expected_feature_wall_count = ( - 1273 # Hypothetical expected number of features with sv_tot > 0.1 + 1273 # Hypothetical expected number of features with slope_ang > 0.1 ) self.assertEqual( feature_count_slope_ang_greater_than_0, @@ -246,7 +246,7 @@ def test_output_verification_with_all_params(self): results["OUTPUT_BUILDING"], "Output Corners", "ogr" ) - # Iterate over features and count those with sv_tot > 0.1 + # Iterate over features and count those with max_sv_tot > 0.1 feature_count_max_sv_tot_greater_than_0 = 0 for feature in output_building_layer.getFeatures(): if feature["max_sv_tot"] > 0: @@ -254,7 +254,7 @@ def test_output_verification_with_all_params(self): # Example verification: Check if the counted features match the expected value expected_feature_building_count = ( - 168 # Hypothetical expected number of features with sv_tot > 0.1 + 188 # Hypothetical expected number of features with max_sv_tot > 0 ) self.assertEqual( feature_count_max_sv_tot_greater_than_0,