Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jun 13, 2016
1 parent acff185 commit dc10c8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pydl/pydlutils/tests/test_mangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ def test_cap_distance(self):
x = np.array([0.0, 0.0, 1.0])
cm = 1.0
with raises(ValueError):
d = cap_distance(x, cm, np.array([[1.0, 2.0, 3.0, 4.0],]))
d = cap_distance(x, cm, np.array([[0.0, 45.0],]))
d = cap_distance(x, cm, np.array([[1.0, 2.0, 3.0, 4.0], ]))
d = cap_distance(x, cm, np.array([[0.0, 45.0], ]))
assert np.allclose(d, np.array([45.0]))
y = angles_to_x(np.array([[0.0, 45.0],]), latitude=True)
y = angles_to_x(np.array([[0.0, 45.0], ]), latitude=True)
d = cap_distance(x, cm, y)
assert np.allclose(d, np.array([45.0]))
d = cap_distance(x, cm, np.array([[0.0, -45.0],]))
d = cap_distance(x, cm, np.array([[0.0, -45.0], ]))
assert np.allclose(d, np.array([-45.0]))
d = cap_distance(x, -1.0, np.array([[0.0, -45.0],]))
d = cap_distance(x, -1.0, np.array([[0.0, -45.0], ]))
assert np.allclose(d, np.array([45.0]))

def test_is_in_cap(self):
Expand Down

0 comments on commit dc10c8e

Please sign in to comment.