|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|


Go to the source code of this file.
Classes | |
| class | FadOpsUnitTest2< FadType, ScalarType > |
| class | RealFadOpsUnitTest2< FadType, ScalarType > |
Defines | |
| #define | COMPARE_VALUES(a, b) CPPUNIT_ASSERT( std::abs(a-b) < this->tol_a + this->tol_r*std::abs(a) ); |
| #define | COMPARE_FADS(a, b) |
| #define COMPARE_VALUES | ( | a, | |
| b | |||
| ) | CPPUNIT_ASSERT( std::abs(a-b) < this->tol_a + this->tol_r*std::abs(a) ); |
Definition at line 42 of file FadUnitTests2.hpp.
| #define COMPARE_FADS | ( | a, | |
| b | |||
| ) |
CPPUNIT_ASSERT(a.size() == b.size()); \ CPPUNIT_ASSERT(a.hasFastAccess() == b.hasFastAccess()); \ COMPARE_VALUES(a.val(), b.val()); \ for (int i=0; i<a.size(); i++) { \ COMPARE_VALUES(a.dx(i), b.dx(i)); \ COMPARE_VALUES(a.fastAccessDx(i), b.fastAccessDx(i)); \ } \ ;
Definition at line 45 of file FadUnitTests2.hpp.
1.7.4