[overlay] fix cluster by adapting tolerance

Fixes #1081
This commit is contained in:
Barend Gehrels
2022-11-16 13:09:14 +01:00
committed by Vissarion Fisikopoulos
parent 9369fd3990
commit 5b56ee9960
7 changed files with 101 additions and 11 deletions

View File

@@ -67,8 +67,9 @@ void test_all()
1, 5, 8.0);
{
// Sym difference works, but expectations are different for rescaling
ut_settings settings;
settings.validity_false_negative_sym = true;
settings.sym_difference = false;
test_one<polygon, polygon, polygon>("star_comb_15",
star_comb_15[0], star_comb_15[1],
30, -1, 227.658275102812,
@@ -599,7 +600,7 @@ void test_all()
{
ut_settings settings;
settings.validity_false_negative_sym = true;
TEST_DIFFERENCE_WITH(mysql_23023665_13, 3, 99.74526, 3, 37.74526, 6, settings);
TEST_DIFFERENCE_WITH(mysql_23023665_13, 3, 99.74526, 3, 37.74526, count_set(5, 6), settings);
}
}