From f6b067b7795f54b57a11f2748f861cffba404182 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Tue, 30 Jul 2024 08:15:05 +0200 Subject: [PATCH] rm test --- docs/src/examples/kinematic_loops.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/src/examples/kinematic_loops.md b/docs/src/examples/kinematic_loops.md index bc4d83ea..9e4b5dbc 100644 --- a/docs/src/examples/kinematic_loops.md +++ b/docs/src/examples/kinematic_loops.md @@ -67,13 +67,6 @@ sol = solve(prob, FBDF(autodiff=false)) plot(sol, idxs = [j1.phi, j2.phi, j3.phi]) ``` -```@example kinloop -using Test -@test SciMLBase.successful_retcode(sol) -@test sol(sol.t[end], idxs=j3.phi) % 2pi ≈ π/2 atol=0.3 # Test the the "pendulum" is hanging almost straight down after sufficient time has passed -@test sol(sol.t[end], idxs=j2.phi) % 2pi ≈ -π/2 atol=0.3 -``` - ### 3D animation Multibody.jl supports automatic 3D rendering of mechanisms, we use this feature to illustrate the result of the simulation below: