Skip to content

Commit 6015dcc

Browse files
committed
TST: fix error in test assertion.
1 parent 4765654 commit 6015dcc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_tank.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ def test_mass_based_tank():
191191

192192
# Assert volume bounds
193193
assert (real_tank_lox.gas_height <= real_tank_lox.geometry.top).all
194-
assert (example_tank_lox.gas_height <= example_tank_lox.geometry.total_volume).all
194+
assert (real_tank_lox.fluid_volume <= real_tank_lox.geometry.total_volume).all
195+
assert (example_tank_lox.gas_height <= example_tank_lox.geometry.top).all
196+
assert (example_tank_lox.fluid_volume <= example_tank_lox.geometry.total_volume).all
195197

196198
initial_liquid_mass = 5
197199
initial_gas_mass = 0

0 commit comments

Comments
 (0)