Lumicron Documentation
DocumentationAPI referenceValidationlv.testing.assert_route_lengths_equal

lv.testing.assert_route_lengths_equal

Assert every route in routes has the same centerline length within tol µm. Lifts the shortest + longest centerlines into the offending-geometry payload so the failure overlay can show which routes are the outliers.

lv.testing.assert_route_lengths_equal(routes: 'Iterable[Any]', *, tol: 'float' = 0.01, units: 'str' = 'µm') -> 'None'

Search documentation

Type to search all guides and API references.

↑ ↓ to select · Enter to open · Esc to close