Skip to content

Commit

Permalink
Fixed test_isentropic renamed function
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Mar 1, 2013
1 parent 2030cf1 commit 3a9153e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_isentropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ def test_pm_function():
130.45
]
results_list = [
isentropic.prandtl_meyer_function(M, gamma) for M in M_list]
isentropic.PrandtlMeyerExpansion.nu(M, gamma) for M in M_list]
for i in range(len(M_list)):
np.testing.assert_almost_equal(
results_list[i], np.radians(nu_list[i]), decimal=3)


def test_pm_function_raises_error_subsonic():
with pytest.raises(ValueError):
isentropic.prandtl_meyer_function(0.8)
isentropic.PrandtlMeyerExpansion.nu(0.8)


def test_isentropic_flow_constructor():
Expand Down

0 comments on commit 3a9153e

Please sign in to comment.