Skip to content

Commit

Permalink
TST: fix error in test assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
phmbressan committed Nov 24, 2023
1 parent 4765654 commit 6015dcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_tank.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def test_mass_based_tank():

# Assert volume bounds
assert (real_tank_lox.gas_height <= real_tank_lox.geometry.top).all
assert (example_tank_lox.gas_height <= example_tank_lox.geometry.total_volume).all
assert (real_tank_lox.fluid_volume <= real_tank_lox.geometry.total_volume).all
assert (example_tank_lox.gas_height <= example_tank_lox.geometry.top).all
assert (example_tank_lox.fluid_volume <= example_tank_lox.geometry.total_volume).all

initial_liquid_mass = 5
initial_gas_mass = 0
Expand Down

0 comments on commit 6015dcc

Please sign in to comment.