Fix errors
This commit is contained in:
parent
1b71afcc21
commit
0bdb4d887f
@ -78,7 +78,9 @@ namespace Components
|
|||||||
|
|
||||||
for (auto component : Loader::Components)
|
for (auto component : Loader::Components)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
Logger::Print("Testing '%s'...\n", component->GetName());
|
Logger::Print("Testing '%s'...\n", component->GetName());
|
||||||
|
#endif
|
||||||
auto startTime = std::chrono::high_resolution_clock::now();
|
auto startTime = std::chrono::high_resolution_clock::now();
|
||||||
bool testRes = component->UnitTest();
|
bool testRes = component->UnitTest();
|
||||||
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() - startTime).count();
|
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() - startTime).count();
|
||||||
|
Loading…
Reference in New Issue
Block a user