scl/test/registry.h
Jacob d95c134a54 Test and stuff.
Need to fix testing functions so that every assert is run in each
function of the registry.
2024-09-30 20:55:46 -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