mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-06 17:31:49 +08:00
test: Add uncovered equality checks with NAN and INFINITE
This commit is contained in:
1 parent
a374f37a54
commit
1e80807e8e
2 files changed
+19
-2
No files matched your search
@@ -129,6 +129,9 @@ int main()
|
||||
Matrix<float, 2, 2> m8(m8_array);
|
||||
TEST(isEqual(m6, m8));
|
||||
|
||||
m7.setNaN();
|
||||
TEST(m7 != m8);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user