diff options
author | David Phillips <david@yeah.nah.nz> | 2021-02-13 23:14:00 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2021-02-13 23:24:22 +1300 |
commit | ce9e7b1ebd506f8b12bf1c26fedd5dddd3cdd653 (patch) | |
tree | cc2b49dc606cfc56b930f78fe910982028eae684 /test_data_manager.c | |
parent | e8042274b1722e5a0a2b99bea31bafe191d936f1 (diff) | |
download | altimeter-ce9e7b1ebd506f8b12bf1c26fedd5dddd3cdd653.tar.xz |
Initialise data manager with ISA pressure
Diffstat (limited to 'test_data_manager.c')
-rw-r--r-- | test_data_manager.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test_data_manager.c b/test_data_manager.c new file mode 100644 index 0000000..61d1d87 --- /dev/null +++ b/test_data_manager.c @@ -0,0 +1,9 @@ +#include "data_manager.h" +#include "test_runner.h" +#include "unity.h" + +RUNNER_DECLARE_TEST(test_data_manager_init_setting) +{ + data_manager_init(); + TEST_ASSERT_FLOAT_WITHIN(0.001, 1013.25, data_manager_get_setting(PRESSURE_UNIT_HPA)); +} |