package ru.pravvich;

import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;

public class PointTest {	
	@Test
	public void wthenSetPointThenResultDistanceBetweenPoint() {
			Point a = new Point(0, 0);
			Point b = new Point(0, 4);
			double result = a.distanceTo(b); 						
			assertThat(result, is(4));
	
	}
	
	

}




@@ -335,16 +335,17 @@
 lt, is(4
+D
 ));%0A%09%0A%09%7D

add chapter_001\lesson_3\src\test\java\ru\pravvich\PointTest.java