Skip to content

Commit 087a6fd

Browse files
committed
Fix rect test to cover true case
1 parent b299022 commit 087a6fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/geometrytypes.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ end
295295
rect2 = Rect(0.0, 0.0, 2.0, 1.0)
296296
@test !overlaps(rect1, rect2)
297297
rect1 = Rect(1.0, 1.0, 2.0, 2.0)
298-
rect2 = Rect(1.0, 1.0, 2.0, 2.0)
299-
@test !overlaps(rect1, rect2)
298+
rect2 = Rect(1.5, 1.5, 2.0, 2.0)
299+
@test overlaps(rect1, rect2)
300300

301301

302302
rect1 = Rect(1.0, 1.0, 2.0, 2.0)

0 commit comments

Comments
 (0)