C ordening

This commit is contained in:
Rens Pastoor
2025-05-27 23:26:28 +02:00
parent 39269a71a7
commit 517087ccc1
207 changed files with 0 additions and 4278 deletions

View File

@@ -0,0 +1,31 @@
#include "unity.h"
#include "unity_test_module.h"
#include "channel.h"
// I rather dislike keeping line numbers updated, so I made my own macro to ditch the line number
#define MY_RUN_TEST(func) RUN_TEST(func, 0)
extern void channel_setUp(void)
{
// This is run before EACH test
}
extern void channel_tearDown(void)
{
// This is run after EACH test
}
static void test_channel(void)
{
TEST_ASSERT_EQUAL(1, 0);
}
void run_channel_tests()
{
UnityRegisterSetupTearDown( channel_setUp, channel_tearDown);
MY_RUN_TEST(test_channel);
UnityUnregisterSetupTearDown();
}