Skip to content

Commit fd80b05

Browse files
Add disjoint test
1 parent 67e4890 commit fd80b05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sectionproperties/tests/test_sections.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,9 @@ def test_check_geometry_disjoint():
445445
assert check_geometry_disjoint([rect.geom, circ.geom]) == True
446446
assert check_geometry_overlaps([small_sq.geom, small_hole.geom]) == True
447447

448+
rect2 = rectangular_section(d=50, b=50).shift_section(x_offset=50)
449+
assert check_geometry_disjoint([rect.geom, rect2.geom]) == False
450+
448451

449452
def test_warping_disjoint_warning():
450453
rect = rectangular_section(d=50, b=50)

0 commit comments

Comments
 (0)