From 0d9a80ea8447dc32ecf4009b819c00e0fd1847c5 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 27 Oct 2020 15:32:11 +1000 Subject: [PATCH] region: add another intersects test --- test/region.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/region.cpp b/test/region.cpp index 74313c07..1cc31a91 100644 --- a/test/region.cpp +++ b/test/region.cpp @@ -40,6 +40,12 @@ main (int, char **) .intersection = true, .message = "Coaligned base", }, + { + .a = { p_t { 21, 32 }, e_t { 13, 8 } }, + .b = { p_t { 27, 33 }, e_t { 24, 24 } }, + .intersection = true, + .message = "corner overlap", + } }; for (auto const &[a, b, res, msg]: TESTS) {