32 #ifndef TRAITSTESTS_HPP
33 #define TRAITSTESTS_HPP
42 #include <cppunit/extensions/HelperMacros.h>
45 template <
class ADType>
87 template <
class ADType>
94 template <
class ADType>
99 CPPUNIT_ASSERT(same ==
true);
102 CPPUNIT_ASSERT(same ==
true);
105 template <
class ADType>
110 CPPUNIT_ASSERT(same ==
true);
113 CPPUNIT_ASSERT(same ==
true);
116 template <
class ADType>
124 template <
class ADType>
132 template <
class ADType>
136 double val = urand.number();
144 template <
class ADType>
148 double val = urand.number();
156 template <
class ADType>
168 #endif // TRAITSTESTS_HPP
static std::string eval()
Base template specification for ScalarValue.
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.