Testing
This commit is contained in:
parent
d362d8c3b3
commit
c75cb9fb48
7 changed files with 145 additions and 155 deletions
21
Strings/tests/Tests.cpp
Normal file
21
Strings/tests/Tests.cpp
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
#include "Testing.hpp"
|
||||
#include "Strings.hpp"
|
||||
|
||||
void testStrings();
|
||||
void testLogging();
|
||||
|
||||
int main() {
|
||||
|
||||
tp::ModuleManifest* deps[] = { &tp::gModuleStrings, &tp::gModuleUtils, nullptr };
|
||||
tp::ModuleManifest testModule("StringsTest", nullptr, nullptr, deps);
|
||||
|
||||
if (!testModule.initialize()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
testStrings();
|
||||
testLogging();
|
||||
|
||||
testModule.deinitialize();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue