cprj/test/registry.h
2024-10-02 20:01:45 -04:00

16 lines
264 B
C

#ifndef REGISTRY_H
#define REGISTRY_H
#include <stdio.h>
// Test functions neither consume nor return anything.
typedef void (*Test)(void);
// Register a new test function.
void register_test(Test t);
// Run all registered tests.
void run_all_tests();
#endif