Can I use googletest to test for infinite loops?
Defining a timeout may be a solution, but no such function exists in
googletest...
Any ideas how to write such test?
Thanks!
--
Eisenberger Tam�s <ta...@eisenberger.hu>
in general you cannot test that a loop is infinite
(http://en.wikipedia.org/wiki/Halting_problem).
Cheers,
/Manuel
On Fri, Mar 16, 2012 at 3:57 PM, Eisenberger Tamás <ta...@eisenberger.hu> wrote:
> Hy!
>
> Can I use googletest to test for infinite loops?
> Defining a timeout may be a solution, but no such function exists in
> googletest...
>
> Any ideas how to write such test?
>
> Thanks!
> --
> Eisenberger Tamás <ta...@eisenberger.hu>
Hy!Can I use googletest to test for infinite loops?
Defining a timeout may be a solution, but no such function exists in
googletest...Any ideas how to write such test?
Thanks!
--
Eisenberger Tam�s <ta...@eisenberger.hu>