starting with component unit testing (running on device)
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
7
components/logger/test/logger_test.c
Normal file
7
components/logger/test/logger_test.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "unity.h"
|
||||
|
||||
#include "logger.h"
|
||||
|
||||
TEST_CASE("Add two numbers", "[logger]") {
|
||||
TEST_ASSERT_EQUAL(3, add(1, 2));
|
||||
}
|
Reference in New Issue
Block a user