Skip to content

Commit d66c39b

Browse files
[Mercator] Minor fix
1 parent e90545f commit d66c39b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

algorithms-miscellaneous-2/src/test/java/com/baeldung/algorithms/mercator/EllipticalMercatorUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
public class EllipticalMercatorUnitTest {
77

88
@Test
9-
public void giventThatTheInputIs22_whenXAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
9+
public void givenThatTheInputIs22_whenXAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
1010
Mercator mercator = new EllipticalMercator();
1111
double result = mercator.xAxisProjection(22);
1212
assert result == 2449028.7974520186;
1313
}
1414

1515
@Test
16-
public void giventThatTheInputIs44_whenYAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
16+
public void givenThatTheInputIs44_whenYAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
1717
Mercator mercator = new EllipticalMercator();
1818
double result = mercator.yAxisProjection(44);
1919
assert result == 5435749.887511954;

algorithms-miscellaneous-2/src/test/java/com/baeldung/algorithms/mercator/SphericalMercatorUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
public class SphericalMercatorUnitTest {
77

88
@Test
9-
public void giventThatTheInputIs22_whenXAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
9+
public void givenThatTheInputIs22_whenXAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
1010
Mercator mercator = new SphericalMercator();
1111
double result = mercator.xAxisProjection(22);
1212
assert result == 2449028.7974520186;
1313
}
1414

1515
@Test
16-
public void giventThatTheInputIs44_whenYAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
16+
public void givenThatTheInputIs44_whenYAxisProjectionIsCalled_thenTheResultIsTheCorrectOne() {
1717
Mercator mercator = new SphericalMercator();
1818
double result = mercator.yAxisProjection(44);
1919
assert result == 5465442.183322753;

0 commit comments

Comments
 (0)