Starting test-driven development (TDD) with Unity

- Using PlatformIO's embedded unit testing with native environment
- mbed-dependent .cpp files escaped with #ifndef UNIT_TEST
- First tests for charger module added under test/ directory
This commit is contained in:
Martin Jaeger
2019-05-04 11:31:37 +02:00
parent 90666d697b
commit d9f7103e97
26 changed files with 519 additions and 16 deletions
+1
View File
@@ -23,6 +23,7 @@
#include <time.h> // for time(NULL) function
#include <math.h> // for fabs function
#include <stdio.h>
extern log_data_t log_data;