@@ -0,0 +1,1586 @@
+package fr.free.nrw.commons;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0A%0Aimport fr.free.nrw.commons.location.LatLng;%0Aimport fr.free.nrw.commons.utils.LengthUtils;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Apublic class LengthUtilsTest %7B%0A    @Test public void testZeroDistance() %7B%0A        LatLng pointA = new LatLng(0, 0);%0A        LatLng pointB = new LatLng(0, 0);%0A        String distance = LengthUtils.formatDistanceBetween(pointA, pointB);%0A        Assert.assertThat(distance, is(%220m%22));%0A    %7D%0A%0A    @Test public void testOneDegreeOnEquator() %7B%0A        LatLng pointA = new LatLng(0, 0);%0A        LatLng pointB = new LatLng(0, 1);%0A        String distance = LengthUtils.formatDistanceBetween(pointA, pointB);%0A        Assert.assertThat(distance, is(%22111.2km%22));%0A    %7D%0A%0A    @Test public void testOneDegreeFortyFiveDegrees() %7B%0A        LatLng pointA = new LatLng(45, 0);%0A        LatLng pointB = new LatLng(45, 1);%0A        String distance = LengthUtils.formatDistanceBetween(pointA, pointB);%0A        Assert.assertThat(distance, is(%2278.6km%22));%0A    %7D%0A%0A    @Test public void testOneDegreeSouthPole() %7B%0A        LatLng pointA = new LatLng(-90, 0);%0A        LatLng pointB = new LatLng(-90, 1);%0A        String distance = LengthUtils.formatDistanceBetween(pointA, pointB);%0A        Assert.assertThat(distance, is(%220m%22));%0A    %7D%0A%0A    @Test public void testPoleToPole() %7B%0A        LatLng pointA = new LatLng(90, 0);%0A        LatLng pointB = new LatLng(-90, 0);%0A        String distance = LengthUtils.formatDistanceBetween(pointA, pointB);%0A        Assert.assertThat(distance, is(%2220,015.1km%22));%0A    %7D%0A%7D%0A

Add some tests for the LengthUtils class