mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-27 13:52:14 +00:00
WIP: Major refactor of unit and integration tests
This commit is contained in:
1 parent
fe687d391b
commit
b8be484624
53 files changed
+1748
-2211
No files matched your search
@@ -1,5 +1,11 @@
|
||||
#include <unity.h>
|
||||
|
||||
void testExample() {
|
||||
bool success = true;
|
||||
TEST_ASSERT_EQUAL(true, success);
|
||||
}
|
||||
|
||||
|
||||
void setUp(void) {
|
||||
// set stuff up here before each test
|
||||
}
|
||||
@@ -8,15 +14,16 @@ void tearDown(void) {
|
||||
// clean stuff up here after each test
|
||||
}
|
||||
|
||||
void testExample() {
|
||||
bool success = true;
|
||||
TEST_ASSERT_EQUAL(true, success);
|
||||
}
|
||||
|
||||
|
||||
int runUnityTests(void) {
|
||||
UNITY_BEGIN();
|
||||
|
||||
// Suite-level setup
|
||||
|
||||
// Run tests
|
||||
RUN_TEST(testExample);
|
||||
|
||||
// Suite-level teardown
|
||||
|
||||
return UNITY_END();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user