From 7cc0ebd8ebf7c4f82e6d566238bc411b00ccac43 Mon Sep 17 00:00:00 2001 From: Helge Eichhorn Date: Sun, 21 Jan 2024 21:48:41 +0100 Subject: [PATCH] More tests --- crates/lox_core/src/frames.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crates/lox_core/src/frames.rs b/crates/lox_core/src/frames.rs index 53396cc8..5273ccef 100644 --- a/crates/lox_core/src/frames.rs +++ b/crates/lox_core/src/frames.rs @@ -122,3 +122,14 @@ where self.rotation_from(frame, t).transpose() } } + +#[cfg(test)] +mod test { + use super::*; + + #[test] + fn test_icrf() { + assert!(Icrf.is_inertial()); + assert!(!Icrf.is_rotating()); + } +}