ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
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 More...
 

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. More...
 

Detailed Description

Functions for testing drivers.

Author
Otso Jousimaa
Date
2019-07-10

Run tests for drivers.

Definition in file ruuvi_driver_test.h.