speeduino/test/tests_main.cpp

29 lines
498 B
C++
Raw Normal View History

#include <Arduino.h>
#include <unity.h>
2020-01-23 19:18:57 -08:00
#include "tests_corrections.h"
#include "tests_init.h"
#include "tests_schedules.h"
void setup() {
// NOTE!!! Wait for >2 secs
// if board doesn't support software reset via Serial.DTR/RTS
delay(2000);
UNITY_BEGIN(); // IMPORTANT LINE!
pinMode(LED_BUILTIN, OUTPUT);
}
uint8_t i = 0;
uint8_t max_blinks = 5;
void loop()
{
testInitialisation();
2020-01-23 19:18:57 -08:00
testCorrections();
testSchedules();
UNITY_END(); // stop unit testing
}