vtk-m2/vtkm/testing
Kenneth Moreland ec5fd17536 Modify test_equal for values close to zero
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.
2016-11-30 21:57:15 -06:00
..
CMakeLists.txt Move VecFromPortal classes to vtkm package 2016-11-22 17:04:55 -07:00
OptionParser.h Fix a couple of conversion warnings in OptionParser for testing. 2015-06-10 13:58:26 -06:00
Testing.h Modify test_equal for values close to zero 2016-11-30 21:57:15 -06:00
TestingImplicitFunctions.h Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
TestingMath.h Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestBinaryOperators.cxx Replace TryAllTypes with trying exemplar tests 2016-08-24 16:02:18 -06:00
UnitTestBinaryPredicates.cxx Replace TryAllTypes with trying exemplar tests 2016-08-24 16:02:18 -06:00
UnitTestBounds.cxx Change Field and related methods to use Range and Bounds 2016-05-29 18:49:36 -06:00
UnitTestCellShape.cxx Add CellShapeTag classes 2015-08-27 16:30:58 -06:00
UnitTestImplicitFunctions.cxx Add vtkm/cont/serial directory for the serial backend. 2016-09-28 14:22:53 -04:00
UnitTestListTag.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestMath.cxx Add vtkm/cont/serial directory for the serial backend. 2016-09-28 14:22:53 -04:00
UnitTestMatrix.cxx Fix test that fails during optimization. 2016-04-21 11:02:45 -06:00
UnitTestNewtonsMethod.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestPair.cxx The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
UnitTestRange.cxx Change Field and related methods to use Range and Bounds 2016-05-29 18:49:36 -06:00
UnitTestTesting.cxx The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
UnitTestTransform3D.cxx Merge branch 'master' into rendering-library 2016-09-09 13:59:15 -06:00
UnitTestTypeListTag.cxx Remove exports for header-only functions/methods 2016-11-15 22:22:13 -07:00
UnitTestTypes.cxx Replace TryAllTypes with trying exemplar tests 2016-08-24 16:02:18 -06:00
UnitTestTypeTraits.cxx Replace TryAllTypes with trying exemplar tests 2016-08-24 16:02:18 -06:00
UnitTestUnaryPredicates.cxx Replace TryAllTypes with trying exemplar tests 2016-08-24 16:02:18 -06:00
UnitTestVecFromPortal.cxx Move VecFromPortal classes to vtkm package 2016-11-22 17:04:55 -07:00
UnitTestVecFromPortalPermute.cxx Move VecFromPortal classes to vtkm package 2016-11-22 17:04:55 -07:00
UnitTestVecRectilinearPointCoordinates.cxx Special implementation of parametric coordinates for rectilinear cells 2015-09-02 13:50:31 -07:00
UnitTestVectorAnalysis.cxx Fix issues with UnitTestVectorAnalysis for MSVC. 2016-04-19 14:39:16 -06:00
UnitTestVecTraits.cxx Replace TryAllTypes with trying exemplar tests 2016-08-24 16:02:18 -06:00
UnitTestVecVariable.cxx Add VecVariable 2015-08-14 09:15:46 -06:00
VecTraitsTests.h Switch over to c++11 type_traits. 2016-08-31 16:11:26 -04:00