From 9147972bd25a50a1c5216007b9fc7c799f909a77 Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Wed, 3 Jul 2024 13:30:09 +0200 Subject: [PATCH] Test for orientations --- test/calibration.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/calibration.jl b/test/calibration.jl index e736d688..07281e08 100644 --- a/test/calibration.jl +++ b/test/calibration.jl @@ -35,4 +35,9 @@ end @test [0.8297266567631056, 0.002991865243189534, -0.004798371006076004, -0.5581412898494195] == o(module_id, min_t + Δt/2) @test [0.8305219131347711, 0.003947997911424212, -0.0042572917986734805, -0.5569556899628482] == o(module_id, min_t + Δt/3) + qdata = o(module_id) + @test 5 == length(qdata.t) + @test 5 == length(qdata.q) + @test 1.693407821152e9 == qdata.t[1] + @test [0.8260205110995139, 0.003912907129683348, -0.004395551387888641, -0.5636093359133512] == qdata.q[1] end -- GitLab