Skip to content

Commit 4f721d1

Browse files
committed
Formatting fixes
1 parent 4b52f00 commit 4f721d1

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/test/kotlin/org/sheinbergon/dremio/udf/gis/STSimplifyPreserveTopologyTests.kt

+16-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,22 @@ internal class STSimplifyPreserveTopologyTests : GeometryProcessingFunSpec<STSim
1616

1717
testGeometryProcessing(
1818
name = "Calling ST_SimplifyPreserveTopology on a MULTILINESTRING with a tolerance of 40.0",
19-
wkt = "MULTILINESTRING ((20 180, 20 150, 50 150, 50 100, 110 150, 150 140, 170 120), (20 10, 80 30, 90 120), (90 120, 130 130), (130 130, 130 70, 160 40, 180 60, 180 90, 140 80), (50 40, 70 40, 80 70, 70 60, 60 60, 50 50, 50 40))",
20-
expected = " MULTILINESTRING((20 180,50 100,110 150,170 120),(20 10,90 120),(90 120,130 130),(130 130,130 70,160 40,180 90,140 80),(50 40,70 40,80 70,60 60,50 40))"
19+
wkt = """
20+
MULTILINESTRING (
21+
(20 180, 20 150, 50 150, 50 100, 110 150, 150 140, 170 120),
22+
(20 10, 80 30, 90 120),
23+
(90 120, 130 130),
24+
(130 130, 130 70, 160 40, 180 60, 180 90, 140 80),
25+
(50 40, 70 40, 80 70, 70 60, 60 60, 50 50, 50 40)
26+
)""".trimIndent(),
27+
expected = """
28+
MULTILINESTRING(
29+
(20 180,50 100,110 150,170 120),
30+
(20 10,90 120),
31+
(90 120,130 130),
32+
(130 130,130 70,160 40,180 90,140 80),
33+
(50 40,70 40,80 70,60 60,50 40)
34+
)""".trimIndent()
2135
) { function.toleranceInput.value = 40.0 }
2236

2337
testNullGeometryProcessing(

0 commit comments

Comments
 (0)