30#ifndef TRAITSTESTS_HPP
31#define TRAITSTESTS_HPP
43template <
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;
REGISTER_TYPED_TEST_SUITE_P(TraitsTests, testScalarType, testValueType, testIsADType, testIsScalarType, testValue, testScalarValue, testStringName)
TYPED_TEST_SUITE_P(TraitsTests)
TYPED_TEST_P(TraitsTests, testScalarType)
A random number generator that generates random numbers uniformly distributed in the interval (a,...
Sacado::Random< double > urand
Sacado::mpl::apply< ADType, double >::type ad1_t
Sacado::mpl::apply< ADType, ad1_t >::type ad2_t
#define ASSERT_TRUE(condition)
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