ESP8266_Treppenlicht/test/test_main.cpp

40 lines
789 B
C++
Raw Normal View History

2021-06-25 16:35:16 +00:00
// #include <Arduino.h>
// #include <unity.h>
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// String STR_TO_TEST;
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// // void setUp(void) {
// // // set stuff up here
// // STR_TO_TEST = "Hello, world!";
// // }
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// // void tearDown(void) {
// // // clean stuff up here
// // STR_TO_TEST = "";
// // }
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// void test_led_builtin_pin_number(void) {
// TEST_ASSERT_EQUAL(2, LED_BUILTIN);
// }
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// void test_string_concat(void) {
// String hello = "Hello, ";
// String world = "world!";
// TEST_ASSERT_EQUAL_STRING(STR_TO_TEST.c_str(), (hello + world).c_str());
// }
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// void setup()
// {
// delay(2000); // service delay
// UNITY_BEGIN();
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// RUN_TEST(test_led_builtin_pin_number);
// RUN_TEST(test_string_concat);
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// UNITY_END(); // stop unit testing
// }
2021-06-22 14:12:04 +00:00
2021-06-25 16:35:16 +00:00
// void loop()
// {
// }