#include "Sacado_No_Kokkos.hpp"
#include "Sacado_Fad_LAPACK.hpp"
#include "Sacado_Random.hpp"
#include <cppunit/extensions/HelperMacros.h>
Go to the source code of this file.
#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 |
|
) |
| |
Value:CPPUNIT_ASSERT(
a.size() == b.size()); \
CPPUNIT_ASSERT(
a.hasFastAccess() == b.hasFastAccess());
\
for (
int k=0; k<
a.size(); k++) {
\
} \
;
#define COMPARE_VALUES(a, b)
Definition at line 46 of file FadLAPACKUnitTests.hpp.
#define COMPARE_FAD_VECTORS |
( |
|
X1, |
|
|
|
X2, |
|
|
|
n |
|
) |
| |
Value:CPPUNIT_ASSERT(X1.size() == std::size_t(n)); \
CPPUNIT_ASSERT(X2.size() == std::size_t(n)); \
for (
unsigned int i=0; i<
n; i++) {
\
} \
;
#define COMPARE_FADS(a, b)
Definition at line 56 of file FadLAPACKUnitTests.hpp.