|
9 | 9 | use std::ops::Add; |
10 | 10 |
|
11 | 11 | use glam::DMat3; |
| 12 | +use lox_core::units::Angle; |
12 | 13 | use lox_test_utils::ApproxEq; |
13 | 14 | use lox_time::{ |
14 | 15 | Time, |
15 | 16 | time_scales::{Tdb, Tt}, |
16 | 17 | }; |
17 | | -use lox_units::Angle; |
18 | 18 |
|
19 | 19 | use crate::ecliptic::MeanObliquity; |
20 | 20 |
|
@@ -71,8 +71,8 @@ impl Add<&Self> for Nutation { |
71 | 71 |
|
72 | 72 | #[cfg(test)] |
73 | 73 | mod tests { |
| 74 | + use lox_core::units::AngleUnits; |
74 | 75 | use lox_test_utils::assert_approx_eq; |
75 | | - use lox_units::AngleUnits; |
76 | 76 |
|
77 | 77 | use super::*; |
78 | 78 |
|
@@ -103,15 +103,15 @@ mod tests { |
103 | 103 | fn test_nutation_matrix_iau1980() { |
104 | 104 | let time = Time::from_two_part_julian_date(Tdb, 2400000.5, 53736.0); |
105 | 105 | let exp = DMat3::from_cols_array(&[ |
106 | | - 0.9999999999534999268, |
107 | | - 0.8847935789636432161e-5, |
108 | | - 0.3835906502164019142e-5, |
109 | | - -0.8847780042583435924e-5, |
110 | | - 0.9999999991366569963, |
111 | | - -0.4060052702727130809e-4, |
112 | | - -0.3836265729708478796e-5, |
113 | | - 0.4060049308612638555e-4, |
114 | | - 0.9999999991684415129, |
| 106 | + 0.999_999_999_953_5, |
| 107 | + 8.847_935_789_636_432e-6, |
| 108 | + 3.835_906_502_164_019_5e-6, |
| 109 | + -8.847_780_042_583_437e-6, |
| 110 | + 0.999_999_999_136_657, |
| 111 | + -4.060_052_702_727_131e-5, |
| 112 | + -3.836_265_729_708_479e-6, |
| 113 | + 4.060_049_308_612_638_4e-5, |
| 114 | + 0.999_999_999_168_441_5, |
115 | 115 | ]) |
116 | 116 | .transpose(); |
117 | 117 | let act = Nutation::nutation_matrix_iau1980(time); |
|
0 commit comments