From 9f29b4b3b21bf194400f6243de7d34f3a6c98be1 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Fri, 29 Apr 2016 18:06:49 +0200 Subject: [PATCH] [test][bboxtree] Use the new cornersMatch method in the test --- test/common/boundingboxtree/test_bboxtree.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/common/boundingboxtree/test_bboxtree.cc b/test/common/boundingboxtree/test_bboxtree.cc index 1e843c72bb..fa5cb0870b 100644 --- a/test/common/boundingboxtree/test_bboxtree.cc +++ b/test/common/boundingboxtree/test_bboxtree.cc @@ -86,11 +86,8 @@ public: bool add = true; for (const auto& i : map[is.second()]) { - if (intersectionsEqual(is.corners(), i)) - { - add = false; - break; - } + add = !is.cornersMatch(i); + if (!add) break; } if(add) { -- GitLab