Sacado Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Protected Attributes | Private Member Functions
FadOpsUnitTest2< FadType, ScalarType > Class Template Reference

#include <FadUnitTests2.hpp>

Inheritance diagram for FadOpsUnitTest2< FadType, ScalarType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FadOpsUnitTest2 ()
 FadOpsUnitTest2 (int numComponents, double absolute_tolerance, double relative_tolerance)
void setUp ()
void tearDown ()
void testAddition ()
void testSubtraction ()
void testMultiplication ()
void testDivision ()
void testEquals ()
void testNotEquals ()
void testPow ()
void testUnaryPlus ()
void testUnaryMinus ()
void testExp ()
void testLog ()
void testLog10 ()
void testSqrt ()
void testCos ()
void testSin ()
void testTan ()
void testCosh ()
void testSinh ()
void testTanh ()
void testPlusEquals ()
void testMinusEquals ()
void testTimesEquals ()
void testDivideEquals ()
void testPlusLR ()
void testMinusLR ()
void testTimesLR ()
void testDivideLR ()

Protected Attributes

FadType a_fad
FadType b_fad
FadType c_fad
Sacado::Random< ScalarType > urand
int n
double tol_a
double tol_r

Private Member Functions

 CPPUNIT_TEST_SUITE (FadOpsUnitTest2)
 CPPUNIT_TEST (testAddition)
 CPPUNIT_TEST (testSubtraction)
 CPPUNIT_TEST (testMultiplication)
 CPPUNIT_TEST (testDivision)
 CPPUNIT_TEST (testEquals)
 CPPUNIT_TEST (testNotEquals)
 CPPUNIT_TEST (testPow)
 CPPUNIT_TEST (testUnaryPlus)
 CPPUNIT_TEST (testUnaryMinus)
 CPPUNIT_TEST (testExp)
 CPPUNIT_TEST (testLog)
 CPPUNIT_TEST (testLog10)
 CPPUNIT_TEST (testSqrt)
 CPPUNIT_TEST (testCos)
 CPPUNIT_TEST (testSin)
 CPPUNIT_TEST (testTan)
 CPPUNIT_TEST (testCosh)
 CPPUNIT_TEST (testSinh)
 CPPUNIT_TEST (testTanh)
 CPPUNIT_TEST (testPlusEquals)
 CPPUNIT_TEST (testMinusEquals)
 CPPUNIT_TEST (testTimesEquals)
 CPPUNIT_TEST (testDivideEquals)
 CPPUNIT_TEST (testPlusLR)
 CPPUNIT_TEST (testMinusLR)
 CPPUNIT_TEST (testTimesLR)
 CPPUNIT_TEST (testDivideLR)
 CPPUNIT_TEST_SUITE_END ()

Detailed Description

template<class FadType, class ScalarType>
class FadOpsUnitTest2< FadType, ScalarType >

Definition at line 59 of file FadUnitTests2.hpp.


Constructor & Destructor Documentation

template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::FadOpsUnitTest2 ( )

Definition at line 162 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::FadOpsUnitTest2 ( int  numComponents,
double  absolute_tolerance,
double  relative_tolerance 
)

Definition at line 167 of file FadUnitTests2.hpp.


Member Function Documentation

template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST_SUITE ( FadOpsUnitTest2< FadType, ScalarType >  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testAddition  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testSubtraction  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testMultiplication  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testDivision  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testEquals  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testNotEquals  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testPow  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testUnaryPlus  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testUnaryMinus  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testExp  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testLog  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testLog10  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testSqrt  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testCos  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testSin  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testTan  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testCosh  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testSinh  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testTanh  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testPlusEquals  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testMinusEquals  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testTimesEquals  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testDivideEquals  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testPlusLR  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testMinusLR  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testTimesLR  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testDivideLR  ) [private]
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST_SUITE_END ( ) [private]
template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::setUp ( )

Definition at line 175 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::tearDown ( )

Definition at line 195 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testAddition ( )

Definition at line 200 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testSubtraction ( )

Definition at line 224 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testMultiplication ( )

Definition at line 248 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testDivision ( )

Definition at line 272 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testEquals ( )

Definition at line 298 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testNotEquals ( )

Definition at line 316 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testPow ( )

Definition at line 542 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testUnaryPlus ( )

Definition at line 334 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testUnaryMinus ( )

Definition at line 345 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testExp ( )

Definition at line 356 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testLog ( )

Definition at line 367 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testLog10 ( )

Definition at line 378 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testSqrt ( )

Definition at line 389 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testCos ( )

Definition at line 400 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testSin ( )

Definition at line 411 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testTan ( )

Definition at line 422 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testCosh ( )

Definition at line 434 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testSinh ( )

Definition at line 445 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testTanh ( )

Definition at line 456 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testPlusEquals ( )

Definition at line 468 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testMinusEquals ( )

Definition at line 486 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testTimesEquals ( )

Definition at line 504 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testDivideEquals ( )

Definition at line 522 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testPlusLR ( )

Definition at line 601 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testMinusLR ( )

Definition at line 612 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testTimesLR ( )

Definition at line 623 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::testDivideLR ( )

Definition at line 634 of file FadUnitTests2.hpp.


Member Data Documentation

template<class FadType , class ScalarType >
FadType FadOpsUnitTest2< FadType, ScalarType >::a_fad [protected]

Definition at line 147 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
FadType FadOpsUnitTest2< FadType, ScalarType >::b_fad [protected]

Definition at line 147 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
FadType FadOpsUnitTest2< FadType, ScalarType >::c_fad [protected]

Definition at line 147 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
Sacado::Random<ScalarType> FadOpsUnitTest2< FadType, ScalarType >::urand [protected]

Definition at line 150 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
int FadOpsUnitTest2< FadType, ScalarType >::n [protected]

Definition at line 153 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
double FadOpsUnitTest2< FadType, ScalarType >::tol_a [protected]

Definition at line 156 of file FadUnitTests2.hpp.

template<class FadType , class ScalarType >
double FadOpsUnitTest2< FadType, ScalarType >::tol_r [protected]

Definition at line 156 of file FadUnitTests2.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines