manufacturing

This commit is contained in:
2021-02-18 19:54:08 +01:00
parent d36d67bd2c
commit f96d466f25
47 changed files with 14869 additions and 26 deletions

30
test/native/test_main.cpp Normal file
View File

@@ -0,0 +1,30 @@
#include <Arduino.h>
#include <cstdlib>
#include <unity.h>
#include "test_simpleled.h"
#ifdef UNIT_TEST
#define RUN_TEST_GROUP(TEST) \
if (!std::getenv("TEST_GROUP") || (strcmp(#TEST, std::getenv("TEST_GROUP")) == 0)) { \
TEST::run_tests(); \
}
void setUp(void)
{
ArduinoFakeReset();
}
int main(int argc, char **argv) {
UNITY_BEGIN();
RUN_TEST_GROUP(simpleLedTest);
UNITY_END();
}
#endif //UNIT_TEST