Apply formating to all files. CLeanup

This commit is contained in:
IlyaShurupov 2023-10-22 17:07:28 +03:00 committed by Ilya Shurupov
parent b4ae5dde77
commit 91fb72bd49
928 changed files with 14515 additions and 21479 deletions

View file

@ -1,23 +1,23 @@
#include "MathCommon.hpp"
#include "Testing.hpp"
static bool init(const tp::ModuleManifest* self) {
tp::gTesting.setRootName(self->getName());
return true;
}
void testMath();
int main() {
tp::ModuleManifest* deps[] = {&tp::gModuleMath, &tp::gModuleUtils, nullptr};
tp::ModuleManifest testModule("MathTest", init, nullptr, deps);
if (!testModule.initialize()) {
return 1;
}
testMath();
testModule.deinitialize();
}
#include "MathCommon.hpp"
#include "Testing.hpp"
static bool init(const tp::ModuleManifest* self) {
tp::gTesting.setRootName(self->getName());
return true;
}
void testMath();
int main() {
tp::ModuleManifest* deps[] = { &tp::gModuleMath, &tp::gModuleUtils, nullptr };
tp::ModuleManifest testModule("MathTest", init, nullptr, deps);
if (!testModule.initialize()) {
return 1;
}
testMath();
testModule.deinitialize();
}