Skip to content

Commit

Permalink
[DOCS] Fix spelling in Java files function names tests (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Jun 21, 2024
1 parent 96d3d44 commit 4962534
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flink/src/test/java/org/apache/sedona/flink/FunctionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public void testBestSRID() {
}

@Test
public void testShiftLogitude() {
public void testShiftLongitude() {
String actual =
(String)
first(
Expand Down Expand Up @@ -1524,7 +1524,7 @@ public void testMakeValid() {
}

@Test
public void testMaxDistnace() {
public void testMaxDistance() {
Table tbl =
tableEnv.sqlQuery(
"SELECT ST_GeomFromWKT('POLYGON ((40 180, 110 160, 180 180, 180 120, 140 90, 160 40, 80 10, 70 40, 20 50, 40 180),(60 140, 99 77.5, 90 140, 60 140))') as geom");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void testReadToValidGeometryRDD() throws IOException {

/** Test correctness of parsing geojson file including id */
@Test
public void testReadToIncludIdRDD() throws IOException {
public void testReadToIncludeIdRDD() throws IOException {
SpatialRDD geojsonRDD = GeoJsonReader.readToGeometryRDD(sc, geoJsonContainsId, true, false);
assertEquals(geojsonRDD.rawSpatialRDD.count(), 1);
assertEquals(geojsonRDD.fieldNames.size(), 3);
Expand Down

0 comments on commit 4962534

Please sign in to comment.