src.tests.simple_curve_extraction_test

Classes

SimpleCurveExtractionTest()

class src.tests.simple_curve_extraction_test.SimpleCurveExtractionTest
Author:

Alberto M. Esmoris Pena

Test for SimpleCurveExtractor. Runs the full extraction pipeline on test_data/curve_points.laz and validates 14+ quality checks.

Since test_data/curve_points.laz has ONLY curve points (class=4), the non-curve traversal checks (12, 13, 14) will trivially pass because all nearby points ARE curve-class. They are included for completeness.

INPUT_PATH = 'test_data/curve_points.laz'
MAX_SAME_CURVE_CROSSINGS = 1
MAX_INTRA_CURVE_GAPS = 5
MAX_OFFBREAKLINE_RUNS = 1
__init__()

Basic configuration for any VL3D test.

Parameters:

name (str) – Test name

run()

Run the SimpleCurveExtractor quality test.

Returns:

True if all checks pass, False otherwise.

Return type:

bool

static print_report_table(results)

Print a formatted ASCII table of check results.

Parameters:

results (list) – List of (name, passed, count, detail) tuples.