arduino-esp32/tests/validation/unity/unity.ino
Lucas Saavedra Vaz 1299582047
ci(performance): Add performance tests to CI (#9560)
* ci(performance): Add performance tests to CI

* ci(req): Fix requirements

* ci(pre-commit): Apply automatic fixes

* ci(pre-commit): Increase maximum allowed complexity for python

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
2024-05-07 13:16:13 +02:00

28 lines
413 B
C++

#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() {}