I've just discovered that CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, tolerance) passes if the actual value passed to it is -1.#IND000000000000. Is this a known problem? Does anyone know a way round this since if the value I get from a caclulation is -1.#IND000000000000 rather than the expected value I need it to fail.
Thanks
Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I've just discovered that CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, tolerance) passes if the actual value passed to it is -1.#IND000000000000. Is this a known problem? Does anyone know a way round this since if the value I get from a caclulation is -1.#IND000000000000 rather than the expected value I need it to fail.
Thanks
Dave
Please ignore this thread, I've now found that this problem has been fixed in 1.12.1