File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
algorithms-miscellaneous-2/src/test/java/com/baeldung/algorithms/mercator Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66public 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 ;
Original file line number Diff line number Diff line change 66public 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 ;
You can’t perform that action at this time.
0 commit comments