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>
CPPUNIT_TEST(testIsScalarType)
CPPUNIT_TEST(testStringName)
Sacado::Random< double > urand
Sacado::mpl::apply< ADType, double >::type ad1_t
CPPUNIT_TEST(testScalarValue)
Sacado::mpl::apply< ADType, ad1_t >::type ad2_t
CPPUNIT_TEST(testScalarType)
CPPUNIT_TEST(testIsADType)
CPPUNIT_TEST_SUITE(TraitsTests)
CPPUNIT_TEST(testValueType)
Base template specification for IsADType.
Base template specification for IsScalarType.
Base template specification for ScalarValue.
static std::string eval()
Base template specification for Value.
F::template apply< A1, A2, A3, A4, A5 >::type type