Skip to content

Commit efc16cb

Browse files
committed
Regularize OffsetCurveTest functions
1 parent a357dba commit efc16cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/core/src/test/java/org/locationtech/jts/operation/buffer/OffsetCurveTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public void testMinQuadrantSegments_QGIS() {
347347
}
348348

349349
// See https://trac.osgeo.org/postgis/ticket/4072
350-
public void testMitreJoinError() {
350+
public void testJoinMitreError() {
351351
checkOffsetCurve(
352352
"LINESTRING(362194.505 5649993.044,362197.451 5649994.125,362194.624 5650001.876,362189.684 5650000.114,362192.542 5649992.324,362194.505 5649993.044)",
353353
-0.045, 0, BufferParameters.JOIN_MITRE, -1,
@@ -356,7 +356,7 @@ public void testMitreJoinError() {
356356
}
357357

358358
// See https://trac.osgeo.org/postgis/ticket/4072
359-
public void testMitreJoinErrorSimple() {
359+
public void testJoinMitreErrorSimple() {
360360
checkOffsetCurve(
361361
"LINESTRING (4.821 0.72, 7.767 1.801, 4.94 9.552, 0 7.79, 2.858 0, 4.821 0.72)",
362362
-0.045, 0, BufferParameters.JOIN_MITRE, -1,
@@ -365,7 +365,7 @@ public void testMitreJoinErrorSimple() {
365365
}
366366

367367
// See https://trac.osgeo.org/postgis/ticket/3279
368-
public void testMitreJoinSingleLine() {
368+
public void testJoinMitreSingleLine() {
369369
checkOffsetCurve(
370370
"LINESTRING (0.39 -0.02, 0.4650008997915482 -0.02, 0.4667128891457749 -0.0202500016082272, 0.4683515425280024 -0.0210000000000019, 0.4699159706879993 -0.0222499999999996, 0.4714061701120011 -0.0240000000000018, 0.4929087886040002 -0.0535958153351002, 0.4968358395870001 -0.0507426457862002, 0.4774061701119963 -0.0239999999999952, 0.476353470688 -0.0222500000000011, 0.4761015425280001 -0.0210000000000007, 0.4766503813740676 -0.0202500058185111, 0.4779990890331232 -0.02, 0.6189999999999996 -0.02, 0.619 -0.0700000000000002, 0.634 -0.0700000000000002, 0.6339999999999998 -0.02, 0.65 -0.02)",
371371
-0.002, 0, BufferParameters.JOIN_MITRE, -1,
@@ -374,15 +374,15 @@ public void testMitreJoinSingleLine() {
374374
}
375375

376376
// See https://github.com/libgeos/geos/issues/1037
377-
public void testMitreJoinNegDistance() {
377+
public void testJoinMitreNegDistance() {
378378
checkOffsetCurve(
379379
"LINESTRING (0 0, 10 0, 10 10, 0 10, 0 0)",
380380
-1, 0, BufferParameters.JOIN_MITRE, 5,
381381
"LINESTRING (-1 -1, 11 -1, 11 11, -1 11, -1 -1)"
382382
);
383383
}
384384

385-
public void testPolygonMitreJoin() {
385+
public void testPolygonJoinMitre() {
386386
checkOffsetCurve(
387387
"POLYGON ((1 1, 1 7, 5 4, 8 8, 8 1, 1 1))",
388388
1, 0, BufferParameters.JOIN_MITRE, 5,

0 commit comments

Comments
 (0)