Skip to content

Commit

Permalink
fix test change
Browse files Browse the repository at this point in the history
  • Loading branch information
yoelcortes committed May 24, 2024
1 parent 09a7080 commit 4378405
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions tests/test_compressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,8 @@ def test_multistage_hydrogen_compressor_simple():
assert K.design_results["Type"] == "Multistage compressor"
# assert K.design_results["Driver"] == "Electric motor"
assert_allclose(
[K.design_results["Area"],
K.design_results['Tube side pressure drop'],
K.design_results['Shell side pressure drop']],
[1.7906277579485619, 15.0, 25.0],
[K.design_results["Area"]],
[1.7906277579485619],
rtol=1e-3,
)
# check heat utilities
Expand Down Expand Up @@ -295,10 +293,8 @@ def test_multistage_hydrogen_compressor_advanced():
assert K.design_results["Type"] == "Multistage compressor"
# assert K.design_results["Driver"] == "Electric motor"
assert_allclose(
[K.design_results["Area"],
K.design_results['Tube side pressure drop'],
K.design_results['Shell side pressure drop']],
[1.1008174238336854, 15.0, 25.0],
[K.design_results["Area"],],
[1.1008174238336854],
rtol=1e-3,
)
# check heat utilities
Expand Down
2 changes: 1 addition & 1 deletion thermosteam

0 comments on commit 4378405

Please sign in to comment.