MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / writeTestTime

Method writeTestTime

src/tester.cpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void Tester::writeTestTime()
77{
78 float timeTaken = testTimer.nsecsElapsed()/1000000.0f;
79#ifndef Q_OS_WIN
80 output << "\e[0;33m";
81#endif
82 output << QString("%1ms").arg(timeTaken,10,'f',2);
83#ifndef Q_OS_WIN
84 output << "\e[0m";
85#endif
86 testTimer.invalidate();
87}
88
89void Tester::writePass()
90{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected