region: add another intersects test

This commit is contained in:
Danny Robson 2020-10-27 15:32:11 +10:00
parent 61ac466161
commit 0d9a80ea84

View File

@ -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) {