@@ -152,19 +152,19 @@ public void testCellAreaInvalidUnit() {
152152 }
153153
154154 @ Test
155- public void testExactEdgeLength () {
155+ public void testEdgeLength () {
156156 for (int res = 0 ; res <= 15 ; res ++) {
157157 long cell = h3 .latLngToCell (0 , 0 , res );
158158
159159 for (long edge : h3 .originToDirectedEdges (cell )) {
160160 String edgeAddress = h3 .h3ToString (edge );
161161
162- double areaAddressM = h3 .exactEdgeLength (edgeAddress , LengthUnit .m );
163- double areaAddressKm = h3 .exactEdgeLength (edgeAddress , LengthUnit .km );
164- double areaAddressRads = h3 .exactEdgeLength (edgeAddress , LengthUnit .rads );
165- double areaM = h3 .exactEdgeLength (edge , LengthUnit .m );
166- double areaKm = h3 .exactEdgeLength (edge , LengthUnit .km );
167- double areaRads = h3 .exactEdgeLength (edge , LengthUnit .rads );
162+ double areaAddressM = h3 .edgeLength (edgeAddress , LengthUnit .m );
163+ double areaAddressKm = h3 .edgeLength (edgeAddress , LengthUnit .km );
164+ double areaAddressRads = h3 .edgeLength (edgeAddress , LengthUnit .rads );
165+ double areaM = h3 .edgeLength (edge , LengthUnit .m );
166+ double areaKm = h3 .edgeLength (edge , LengthUnit .km );
167+ double areaRads = h3 .edgeLength (edge , LengthUnit .rads );
168168
169169 // Only asserts some properties of the functions that the edge lengths
170170 // should have certain relationships to each other, test isn't specific
@@ -180,21 +180,21 @@ public void testExactEdgeLength() {
180180 }
181181
182182 @ Test (expected = H3Exception .class )
183- public void testExactEdgeLengthInvalid () {
183+ public void testEdgeLengthInvalid () {
184184 // Passing in a non-edge should not cause a crash
185- h3 .exactEdgeLength (h3 .latLngToCell (0 , 0 , 0 ), LengthUnit .km );
185+ h3 .edgeLength (h3 .latLngToCell (0 , 0 , 0 ), LengthUnit .km );
186186 }
187187
188188 @ Test (expected = H3Exception .class )
189- public void testExactEdgeLengthInvalidEdge () {
190- h3 .exactEdgeLength (0 , LengthUnit .rads );
189+ public void testEdgeLengthInvalidEdge () {
190+ h3 .edgeLength (0 , LengthUnit .rads );
191191 }
192192
193193 @ Test (expected = IllegalArgumentException .class )
194- public void testExactEdgeLengthInvalidUnit () {
194+ public void testEdgeLengthInvalidUnit () {
195195 long cell = h3 .latLngToCell (0 , 0 , 0 );
196196 long edge = h3 .originToDirectedEdges (cell ).get (0 );
197- h3 .exactEdgeLength (edge , null );
197+ h3 .edgeLength (edge , null );
198198 }
199199
200200 @ Test
0 commit comments