package shouty;

import org.junit.Test;
import static org.junit.Assert.assertEquals;

public class CoordinateTest {

    @Test
    public void it_calculates_the_distance_from_another_coordinate_along_x_axis() {
        Coordinate a = new Coordinate(0, 0);
        Coordinate b = new Coordinate(1000, 0);
        assertEquals(1000, a.distanceFrom(b));
    }
}

@@ -109,16 +109,181 @@
 eTest %7B%0A
+    %0A    @Test%0A    public void itCalculatesTheDistanceFromItself() %7B%0A        Coordinate a = new Coordinate(0, 0);%0A        assertEquals(0, a.distanceFrom(a));%0A    %7D%0A%0A
 %0A    @Te

Add missing unit test