lolautoaccept/tests/tests.cpp

14 lines
213 B
C++
Raw Normal View History

2022-03-01 01:28:30 +01:00
#include "test.h"
#include <map>
#include <string>
#define REGISTERTEST(NAME) tests.insert({#NAME, TESTNAME(NAME)})
TESTFUNC(ABC);
std::map<std::string, test_t> tests;
void loadTests() {
REGISTERTEST(ABC);
}