diff --git a/rect_test.go b/rect_test.go index c6d8bb4..f0528c1 100644 --- a/rect_test.go +++ b/rect_test.go @@ -54,6 +54,16 @@ func TestIntersection(t *testing.T) { B: newRect(0, -240, 874, 490), Expect: false, // XXX: must be true }, + { + A: newRect(0, 30, 9, 62), + B: newRect(16, 0, 32, 64), + Expect: false, + }, + { + A: newRect(0, 30, 11, 62), + B: newRect(7, 4, 17, 28), + Expect: false, + }, } for _, test := range tests {