Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
FadOpsUnitTest2< FadType, ScalarType > Class Template Reference

#include <FadUnitTests2.hpp>

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

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 testEqualsLR ()
 
void testPlusEqualsLR ()
 
void testMinusEqualsLR ()
 
void testTimesEqualsLR ()
 
void testDivideEqualsLR ()
 
void testResizeBug6135 ()
 
void testEquality ()
 
void testEqualityConstL ()
 
void testEqualityConstR ()
 

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 (testEqualsLR)
 
 CPPUNIT_TEST (testPlusEqualsLR)
 
 CPPUNIT_TEST (testMinusEqualsLR)
 
 CPPUNIT_TEST (testTimesEqualsLR)
 
 CPPUNIT_TEST (testDivideEqualsLR)
 
 CPPUNIT_TEST (testResizeBug6135)
 
 CPPUNIT_TEST (testEquality)
 
 CPPUNIT_TEST (testEqualityConstL)
 
 CPPUNIT_TEST (testEqualityConstR)
 
 CPPUNIT_TEST_SUITE_END ()
 

Detailed Description

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

Definition at line 57 of file FadUnitTests2.hpp.

Constructor & Destructor Documentation

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

Definition at line 174 of file FadUnitTests2.hpp.

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

Definition at line 179 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 ( testEqualsLR  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testPlusEqualsLR  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testMinusEqualsLR  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testTimesEqualsLR  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testDivideEqualsLR  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testResizeBug6135  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testEquality  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testEqualityConstL  )
private
template<class FadType , class ScalarType >
FadOpsUnitTest2< FadType, ScalarType >::CPPUNIT_TEST ( testEqualityConstR  )
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 187 of file FadUnitTests2.hpp.

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

Definition at line 207 of file FadUnitTests2.hpp.

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

Definition at line 212 of file FadUnitTests2.hpp.

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

Definition at line 236 of file FadUnitTests2.hpp.

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

Definition at line 260 of file FadUnitTests2.hpp.

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

Definition at line 284 of file FadUnitTests2.hpp.

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

Definition at line 310 of file FadUnitTests2.hpp.

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

Definition at line 328 of file FadUnitTests2.hpp.

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

Definition at line 554 of file FadUnitTests2.hpp.

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

Definition at line 346 of file FadUnitTests2.hpp.

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

Definition at line 357 of file FadUnitTests2.hpp.

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

Definition at line 368 of file FadUnitTests2.hpp.

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

Definition at line 379 of file FadUnitTests2.hpp.

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

Definition at line 390 of file FadUnitTests2.hpp.

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

Definition at line 401 of file FadUnitTests2.hpp.

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

Definition at line 412 of file FadUnitTests2.hpp.

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

Definition at line 423 of file FadUnitTests2.hpp.

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

Definition at line 434 of file FadUnitTests2.hpp.

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

Definition at line 446 of file FadUnitTests2.hpp.

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

Definition at line 457 of file FadUnitTests2.hpp.

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

Definition at line 468 of file FadUnitTests2.hpp.

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

Definition at line 480 of file FadUnitTests2.hpp.

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

Definition at line 498 of file FadUnitTests2.hpp.

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

Definition at line 516 of file FadUnitTests2.hpp.

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

Definition at line 534 of file FadUnitTests2.hpp.

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

Definition at line 613 of file FadUnitTests2.hpp.

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

Definition at line 624 of file FadUnitTests2.hpp.

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

Definition at line 635 of file FadUnitTests2.hpp.

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

Definition at line 646 of file FadUnitTests2.hpp.

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

Definition at line 657 of file FadUnitTests2.hpp.

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

Definition at line 668 of file FadUnitTests2.hpp.

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

Definition at line 678 of file FadUnitTests2.hpp.

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

Definition at line 693 of file FadUnitTests2.hpp.

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

Definition at line 706 of file FadUnitTests2.hpp.

Member Data Documentation

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

Definition at line 159 of file FadUnitTests2.hpp.

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

Definition at line 159 of file FadUnitTests2.hpp.

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

Definition at line 159 of file FadUnitTests2.hpp.

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

Definition at line 162 of file FadUnitTests2.hpp.

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

Definition at line 165 of file FadUnitTests2.hpp.

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

Definition at line 168 of file FadUnitTests2.hpp.

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

Definition at line 168 of file FadUnitTests2.hpp.


The documentation for this class was generated from the following file: