32 #ifndef TRAITSTESTS_HPP
33 #define TRAITSTESTS_HPP
42 #include <cppunit/extensions/HelperMacros.h>
45 template <
class ADType>
91 template <
class ADType>
105 template <
class ADType>
110 CPPUNIT_ASSERT(same ==
true);
113 CPPUNIT_ASSERT(same ==
true);
116 template <
class ADType>
121 CPPUNIT_ASSERT(same ==
true);
124 CPPUNIT_ASSERT(same ==
true);
127 template <
class ADType>
135 template <
class ADType>
143 template <
class ADType>
147 double val = urand.number();
155 template <
class ADType>
159 double val = urand.number();
167 template <
class ADType>
179 #endif // TRAITSTESTS_HPP
MemPool * getMemoryPool(unsigned int dim)
Get memory pool for supplied dimension dim.
static std::string eval()
Base template specification for ScalarValue.
Sacado::Fad::MemPoolManager< Sacado::Fad::DMFad< double > > poolManager2
Sacado::Fad::MemPoolManager< double > poolManager
Sacado::mpl::apply< ADType, double >::type ad1_t
CPPUNIT_TEST_SUITE(TraitsTests)
Base template specification for IsADType.
CPPUNIT_TEST(testScalarType)
Base template specification for Value.
F::template apply< A1, A2, A3, A4, A5 >::type type
Sacado::mpl::apply< ADType, ad1_t >::type ad2_t
Sacado::Random< double > urand
Base template specification for IsScalarType.
Forward-mode AD class using dynamic memory allocation and expression templates.