def test_basic(multisegment_with_segment: MultisegmentWithSegment) -> None: multisegment, segment = multisegment_with_segment result = symmetric_subtract_multisegment_from_segment( segment, multisegment) assert is_maybe_linear(result)
def test_basic(segments_pair: SegmentsPair) -> None: first, second = segments_pair result = symmetric_subtract_segments(first, second) assert is_maybe_linear(result)
def test_basic(segments: List[Segment]) -> None: result = segments_to_multisegment(segments) assert is_maybe_linear(result)
def test_basic(polygon_with_multisegment: PolygonWithMultisegment) -> None: polygon, multisegment = polygon_with_multisegment result = intersect_multisegment_with_polygon(multisegment, polygon) assert is_maybe_linear(result)
def test_basic(multisegments_pair: MultisegmentsPair) -> None: first, second = multisegments_pair result = intersect_multisegments(first, second) assert is_maybe_linear(result)
def test_basic(multisegment_with_segment: MultisegmentWithSegment) -> None: multisegment, segment = multisegment_with_segment result = intersect_segment_with_multisegment(segment, multisegment) assert is_maybe_linear(result)
def test_basic(polygon_with_multisegment: PolygonWithMultisegment) -> None: polygon, multisegment = polygon_with_multisegment result = subtract_polygon_from_multisegment(multisegment, polygon) assert is_maybe_linear(result)