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

20
C/C3 Watch/test/main.c Normal file
View File

@@ -0,0 +1,20 @@
#include "unity_test_module.h"
// leave resource_detector.h as last include!
#include "resource_detector.h"
/* As an alternative for header files we can declare that
* the following methos are available 'extern'ally.
*/
extern void run_watch_tests();
extern void run_file_element_tests();
int main (int argc, char * argv[])
{
UnityTestModule allModules[] = { { "watch", run_watch_tests}
};
size_t number_of_modules = sizeof(allModules)/sizeof(allModules[0]);
return UnityTestModuleRun(argc, argv, allModules, number_of_modules);
}