mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-06-29 20:10:59 +02:00
34 lines
417 B
Arduino
34 lines
417 B
Arduino
![]() |
#include <unity.h>
|
||
|
|
||
|
|
||
|
/* These functions are intended to be called before and after each test. */
|
||
|
void setUp(void) {
|
||
|
}
|
||
|
|
||
|
void tearDown(void){
|
||
|
}
|
||
|
|
||
|
|
||
|
void test_pass(void){
|
||
|
TEST_ASSERT_EQUAL(1, 1);
|
||
|
}
|
||
|
|
||
|
void test_fail(void){
|
||
|
TEST_ASSERT_EQUAL(1, 1);
|
||
|
}
|
||
|
|
||
|
void setup() {
|
||
|
Serial.begin(115200);
|
||
|
while (!Serial) {
|
||
|
;
|
||
|
}
|
||
|
|
||
|
UNITY_BEGIN();
|
||
|
RUN_TEST(test_pass);
|
||
|
RUN_TEST(test_fail);
|
||
|
UNITY_END();
|
||
|
}
|
||
|
|
||
|
void loop() {
|
||
|
}
|