ec5fd17536
I noticed the UnitTestTransform3D test failed using the random seed 1480544620. On closer inspection, I found that the issue was with the comparison of two numbers close to 0. The numbers were just above the threshold, but their difference was not quite enough to make the ratio below the threshold. After reviewing some other floating point comparisons, they seem to be more forgiving of numbers close to 0. Thus, I changed this comparison to pass if the difference between the numbers was below the threshold. Because this makes the comparison a lot more forgiving for small numbers, I lowered the default threshold by an order of magnitude. So far it looks like the tests are passing, but we should look out for occasional failures. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
OptionParser.h | ||
Testing.h | ||
TestingImplicitFunctions.h | ||
TestingMath.h | ||
UnitTestBinaryOperators.cxx | ||
UnitTestBinaryPredicates.cxx | ||
UnitTestBounds.cxx | ||
UnitTestCellShape.cxx | ||
UnitTestImplicitFunctions.cxx | ||
UnitTestListTag.cxx | ||
UnitTestMath.cxx | ||
UnitTestMatrix.cxx | ||
UnitTestNewtonsMethod.cxx | ||
UnitTestPair.cxx | ||
UnitTestRange.cxx | ||
UnitTestTesting.cxx | ||
UnitTestTransform3D.cxx | ||
UnitTestTypeListTag.cxx | ||
UnitTestTypes.cxx | ||
UnitTestTypeTraits.cxx | ||
UnitTestUnaryPredicates.cxx | ||
UnitTestVecFromPortal.cxx | ||
UnitTestVecFromPortalPermute.cxx | ||
UnitTestVecRectilinearPointCoordinates.cxx | ||
UnitTestVectorAnalysis.cxx | ||
UnitTestVecTraits.cxx | ||
UnitTestVecVariable.cxx | ||
VecTraitsTests.h |