From 102500ea34b52d55abc59a0f48e6860564bbe0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 3 Apr 2021 18:20:52 +0300 Subject: [PATCH] use debug_wm more --- IV/tests.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IV/tests.sql b/IV/tests.sql index 3db9d0a..15739b7 100644 --- a/IV/tests.sql +++ b/IV/tests.sql @@ -92,8 +92,8 @@ begin perform assert_equals('LINESTRING(65 75,53 45,63 15,91 0)', st_astext(vinflections[3])); -- inflections-1, the example in fix_gentle_inflections docstring - select ways from bends where name='inflection-1' into vbends; - select fix_gentle_inflections(vbends) into vinflections; + select array((select way from debug_wm where dbgname='inflection-1' and stage='bbends')) into vbends; + select array((select way from debug_wm where dbgname='inflection-1' and stage='cinflections')) into vinflections; perform assert_equals(vbends[1], vinflections[1]); -- unchanged perform assert_equals('LINESTRING(114 20,133 20,145 15,145 0,136 5,123 7,114 7)', st_astext(vinflections[2])); perform assert_equals('LINESTRING(123 7,114 7,111 2)', st_astext(vinflections[3]));