ruuvi.drivers.c ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
Loading...
Searching...
No Matches
ruuvi_driver_test.h
Go to the documentation of this file.
1#ifndef RUUVI_DRIVER_TEST_H
2#define RUUVI_DRIVER_TEST_H
13#include <stdbool.h>
14#include <stdint.h>
15#include <stdlib.h>
16
23typedef void (*rd_test_print_fp) (const char * const msg);
24
46bool rd_expect_close (const float expect, const int8_t precision,
47 const float check);
48
// End of group Driver tests
50#endif
bool rd_expect_close(const float expect, const int8_t precision, const float check)
Check if given value is "near enough" to what user expects.
void(* rd_test_print_fp)(const char *const msg)
function pointer to print test information