Skip to content

Commit ebdd4e1

Browse files
test: fix thermal piston test
1 parent 1827d63 commit ebdd4e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Thermal/piston.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ using ModelingToolkitStandardLibrary.Blocks
4242
# The initial value doesn't add up to absolute zero, while the rest do. To avoid
4343
# tolerance on the latter, the test is split in two parts.
4444
@test sol[piston.gas.Q_flow][1] + sol[piston.coolant.Q_flow][1]0 atol=1e-6
45-
@test sol[piston.gas.Q_flow][2:end] + sol[piston.coolant.Q_flow][2:end] ==
45+
@test sol[piston.gas.Q_flow][2:end] + sol[piston.coolant.Q_flow][2:end]
4646
zeros(length(sol) - 1)
4747
end

0 commit comments

Comments
 (0)