#define ut_declare_test_c(test_function, test_class)
Definition of geo / math functions to perform geodesic calculations.
int test_autodeclination(int argc, char *argv[])
Base class to be used for unit tests.
High-resolution timer with callouts and timekeeping.
virtual bool run_tests()
Override to run your unit tests.
int _tests_failed
The number of unit tests which failed.
Simple error/warning functions, heavily inspired by the BSD functions of the same names...
bool autodeclination_check()
General defines and structures for the PX4IO module firmware.
Calculation / lookup table for Earth's magnetic field declination, inclination and strength...
#define ut_run_test(test)
Runs a single unit test.
#define ut_compare_float(message, v1, v2, precision)
Used to compare two float values within a unit test.
float get_mag_declination(float lat, float lon)