Skip to content

Commit

Permalink
just more explicit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed Jan 19, 2017
1 parent 6dca2af commit 4c0c0b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_solve_puzzle.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ def test_extrapolate_coordinates_two(self):
'z,y,3\nz,C,5\nz,D,4\n'
't,x,2.5\nt,B,2.5\nt,y,2.5\n')
d = get_distances_from_csv(s, points)
self.assertFalse('coordinates' in points['x'])
self.assertFalse('coordinates' in points['y'])
self.assertFalse('coordinates' in points['z'])
self.assertFalse('coordinates' in points['t'])
extrapolate_coordinates(points, d)
self.assertEquals(tuple(points['x']['coordinates']), (4.0, 3.0))
self.assertEquals(tuple(points['y']['coordinates']), (4.0, 6.0))
Expand Down

0 comments on commit 4c0c0b5

Please sign in to comment.