···113113 ss << endl
114114 << endl
115115 << "[ROSAUTOTEST] System uptime " << setprecision(2) << fixed;
116116- ss << ((float)GetTickCount()/1000) << " seconds" << endl;
116116+ ss << (float)TestStartTime / 1000 << " seconds" << endl;
117117 StringOut(ss.str());
118118119119 /* Report tests startup */
···156156157157 /* Show the beginning time again */
158158 ss << "[ROSAUTOTEST] System uptime at start was " << setprecision(2) << fixed;
159159- ss << ((float)TestStartTime / 1000) << " seconds" << endl;
159159+ ss << (float)TestStartTime / 1000 << " seconds" << endl;
160160161161 /* Show the time now so that we can see how long the tests took */
162162 TestEndTime = GetTickCount();
163163 ss << endl
164164 << "[ROSAUTOTEST] System uptime at end was " << setprecision(2) << fixed;
165165 ss << ((float)TestEndTime / 1000) << " seconds" << endl;
166166- ss << "[ROSAUTOTEST] Duration was " << (((float)TestEndTime - (float)TestStartTime) / 1000) / 60;
166166+ ss << "[ROSAUTOTEST] Duration was " << (float)(TestEndTime - TestStartTime) / (60 * 1000);
167167 ss << " minutes" << endl;
168168 StringOut(ss.str());
169169