Open GoogleCodeExporter opened 8 years ago
Thanks for reporting this. I see the issue: your computer is faster than mine.
Don't worry about that test, feel free to comment it out. The DMP library
itself is correct.
In most languages the clock() function returns some form of the current
date/time, so checking for clock() > 0 bails instantly. But in C++ clock()
represents the number of ticks since the program started. So if you have a
particularly fast computer, clock() could return 0. This represents a flaw in
the unit test only, I should change it to give a timeout of -1 instead.
Original comment by neil.fra...@gmail.com
on 25 Dec 2011 at 8:18
Good to know. Thanks for looking into it so quickly.
Original comment by kstuts...@gmail.com
on 25 Dec 2011 at 10:35
Original issue reported on code.google.com by
kstuts...@gmail.com
on 25 Dec 2011 at 7:20