ruuvi.drivers.c ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
Loading...
Searching...
No Matches
ruuvi_driver_test.h File Reference

Functions for testing drivers. More...

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Typedefs

typedef void(* rd_test_print_fp) (const char *const msg)
 function pointer to print test information
 

Functions

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.
 

Detailed Description

Functions for testing drivers.

Author
Otso Jousimaa
Date
2019-07-10

Run tests for drivers.

Definition in file ruuvi_driver_test.h.