30 #ifndef TRAITSTESTS_HPP 31 #define TRAITSTESTS_HPP 43 template <
class ADType>
67 typedef decltype(this->ad1) ad1_t;
68 typedef decltype(this->ad2) ad2_t;
78 typedef decltype(this->ad1) ad1_t;
79 typedef decltype(this->ad2) ad2_t;
89 typedef decltype(this->ad1) ad1_t;
90 typedef decltype(this->ad2) ad2_t;
97 typedef decltype(this->ad1) ad1_t;
98 typedef decltype(this->ad2) ad2_t;
105 typedef decltype(this->ad1) ad1_t;
106 typedef decltype(this->ad2) ad2_t;
108 double val = this->urand.number();
117 typedef decltype(this->ad1) ad1_t;
118 typedef decltype(this->ad2) ad2_t;
120 double val = this->urand.number();
129 typedef decltype(this->ad1) ad1_t;
130 typedef decltype(this->ad2) ad2_t;
151 #endif // TRAITSTESTS_HPP static std::string eval()
Base template specification for ScalarValue.
REGISTER_TYPED_TEST_SUITE_P(TraitsTests, testScalarType, testValueType, testIsADType, testIsScalarType, testValue, testScalarValue, testStringName)
Sacado::mpl::apply< ADType, double >::type ad1_t
Base template specification for IsADType.
Base template specification for Value.
lambda< F >::type ::template apply< A1, A2, A3, A4, A5 >::type type
TYPED_TEST_P(TraitsTests, testScalarType)
#define ASSERT_TRUE(condition)
Sacado::mpl::apply< ADType, ad1_t >::type ad2_t
Sacado::Random< double > urand
TYPED_TEST_SUITE_P(TraitsTests)
Base template specification for IsScalarType.