mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-13 01:07:35 +08:00
Fixed formatting. Made traivs more verbose.
This commit is contained in:
@@ -12,6 +12,12 @@ int main()
|
||||
TEST(fabs(wrap_pi(-4.0) - (-4.0 + 2*M_PI)) < 1e-5);
|
||||
TEST(fabs(wrap_pi(3.0) - (3.0)) < 1e-3);
|
||||
wrap_pi(NAN);
|
||||
|
||||
Vector3f a(1, 2, 3);
|
||||
Vector3f b(4, 5, 6);
|
||||
a.T().print();
|
||||
TEST(!isEqual(a, b));
|
||||
TEST(isEqual(a, a));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user