コード例 #1
0
def test_basic(contour: BoundContour) -> None:
    result = contour.clear_holes()

    assert result is None
コード例 #2
0
def test_properties(contour: BoundContour) -> None:
    contour.clear_holes()

    assert not contour.holes