mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 02:20:36 +08:00
clang-tidy modernize-redundant-void-arg
This commit is contained in:
@@ -15,20 +15,20 @@
|
||||
class AutoDeclinationTest : public UnitTest
|
||||
{
|
||||
public:
|
||||
virtual bool run_tests(void);
|
||||
virtual bool run_tests();
|
||||
|
||||
private:
|
||||
bool autodeclination_check();
|
||||
};
|
||||
|
||||
bool AutoDeclinationTest::autodeclination_check(void)
|
||||
bool AutoDeclinationTest::autodeclination_check()
|
||||
{
|
||||
ut_assert("declination differs more than 1 degree", get_mag_declination(47.0, 8.0) - 0.6f < 0.5f);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AutoDeclinationTest::run_tests(void)
|
||||
bool AutoDeclinationTest::run_tests()
|
||||
{
|
||||
ut_run_test(autodeclination_check);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user