1 **The Problem:** In 2D or 3D, we have two points (p1 and p2) which
2 define a line segment. Additionally there exists experimental data which
3 can be anywhere in the domain. Find the data point which is closest to
6 In the [close_line.py][close-line] file there are four different
7 implementations which all solve this problem. [You can read more about
8 them here][evolution-of-a-solution]. However, there are no tests!
9 Please write from scratch a `test_close_line.py` file which tests the
10 `closest_data_to_line()` functions.
12 *Hint:* you can use one implementation function to test another. Below
13 is some sample data to help you get started.
15 ![image](../../media/evolution-of-a-solution-1.png)
17 [close-line]: close_line.py
18 [evolution-of-a-solution]: http://inscight.org/2012/03/31/evolution_of_a_solution/