We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1a199 commit b2ff2f6Copy full SHA for b2ff2f6
test/Mechanical/planar_mechanics.jl
@@ -22,6 +22,7 @@ tspan = (0.0, 3.0)
22
23
free_falling_displacement = -0.5 * 9.807 * tspan[2]^2 # 0.5 * g * t^2
24
@test sol[body.ry][end] ≈ free_falling_displacement
25
+ @test sol[body.rx][end] == 0 # no horizontal displacement
26
# plot(sol, idxs = [body.rx, body.ry])
27
end
28
0 commit comments