Testing
This commit is contained in:
parent
b7560534c1
commit
f46ea7e0fb
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