Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
helgee committed Jan 21, 2024
1 parent 86839b1 commit 7cc0ebd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/lox_core/src/frames.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 7cc0ebd

Please sign in to comment.