Sacado Package Browser (Single Doxygen Collection)  Version of the Day
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

◆ FadOpsUnitTest2() [1/2]

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

Definition at line 173 of file FadUnitTests2.hpp.

◆ FadOpsUnitTest2() [2/2]

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

Definition at line 178 of file FadUnitTests2.hpp.

Member Function Documentation

◆ CPPUNIT_TEST_SUITE()

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

◆ CPPUNIT_TEST() [1/32]

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

◆ CPPUNIT_TEST() [2/32]

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

◆ CPPUNIT_TEST() [3/32]

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

◆ CPPUNIT_TEST() [4/32]

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

◆ CPPUNIT_TEST() [5/32]

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

◆ CPPUNIT_TEST() [6/32]

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

◆ CPPUNIT_TEST() [7/32]

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

◆ CPPUNIT_TEST() [8/32]

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

◆ CPPUNIT_TEST() [9/32]

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

◆ CPPUNIT_TEST() [10/32]

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

◆ CPPUNIT_TEST() [11/32]

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

◆ CPPUNIT_TEST() [12/32]

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

◆ CPPUNIT_TEST() [13/32]

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

◆ CPPUNIT_TEST() [14/32]

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

◆ CPPUNIT_TEST() [15/32]

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

◆ CPPUNIT_TEST() [16/32]

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

◆ CPPUNIT_TEST() [17/32]

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

◆ CPPUNIT_TEST() [18/32]

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

◆ CPPUNIT_TEST() [19/32]

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

◆ CPPUNIT_TEST() [20/32]

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

◆ CPPUNIT_TEST() [21/32]

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

◆ CPPUNIT_TEST() [22/32]

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

◆ CPPUNIT_TEST() [23/32]

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

◆ CPPUNIT_TEST() [24/32]

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

◆ CPPUNIT_TEST() [25/32]

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

◆ CPPUNIT_TEST() [26/32]

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

◆ CPPUNIT_TEST() [27/32]

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

◆ CPPUNIT_TEST() [28/32]

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

◆ CPPUNIT_TEST() [29/32]

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

◆ CPPUNIT_TEST() [30/32]

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

◆ CPPUNIT_TEST() [31/32]

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

◆ CPPUNIT_TEST() [32/32]

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

◆ CPPUNIT_TEST_SUITE_END()

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

◆ setUp()

template<class FadType , class ScalarType >
void FadOpsUnitTest2< FadType, ScalarType >::setUp

Definition at line 187 of file FadUnitTests2.hpp.

◆ tearDown()

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

Definition at line 206 of file FadUnitTests2.hpp.

◆ testAddition()

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

Definition at line 211 of file FadUnitTests2.hpp.

◆ testSubtraction()

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

Definition at line 235 of file FadUnitTests2.hpp.

◆ testMultiplication()

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

Definition at line 259 of file FadUnitTests2.hpp.

◆ testDivision()

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

Definition at line 283 of file FadUnitTests2.hpp.

◆ testEquals()

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

Definition at line 309 of file FadUnitTests2.hpp.

◆ testNotEquals()

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

Definition at line 327 of file FadUnitTests2.hpp.

◆ testPow()

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

Definition at line 553 of file FadUnitTests2.hpp.

◆ testUnaryPlus()

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

Definition at line 345 of file FadUnitTests2.hpp.

◆ testUnaryMinus()

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

Definition at line 356 of file FadUnitTests2.hpp.

◆ testExp()

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

Definition at line 367 of file FadUnitTests2.hpp.

◆ testLog()

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

Definition at line 378 of file FadUnitTests2.hpp.

◆ testLog10()

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

Definition at line 389 of file FadUnitTests2.hpp.

◆ testSqrt()

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

Definition at line 400 of file FadUnitTests2.hpp.

◆ testCos()

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

Definition at line 411 of file FadUnitTests2.hpp.

◆ testSin()

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

Definition at line 422 of file FadUnitTests2.hpp.

◆ testTan()

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

Definition at line 433 of file FadUnitTests2.hpp.

◆ testCosh()

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

Definition at line 445 of file FadUnitTests2.hpp.

◆ testSinh()

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

Definition at line 456 of file FadUnitTests2.hpp.

◆ testTanh()

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

Definition at line 467 of file FadUnitTests2.hpp.

◆ testPlusEquals()

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

Definition at line 479 of file FadUnitTests2.hpp.

◆ testMinusEquals()

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

Definition at line 497 of file FadUnitTests2.hpp.

◆ testTimesEquals()

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

Definition at line 515 of file FadUnitTests2.hpp.

◆ testDivideEquals()

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

Definition at line 533 of file FadUnitTests2.hpp.

◆ testEqualsLR()

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

Definition at line 612 of file FadUnitTests2.hpp.

◆ testPlusEqualsLR()

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

Definition at line 623 of file FadUnitTests2.hpp.

◆ testMinusEqualsLR()

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

Definition at line 634 of file FadUnitTests2.hpp.

◆ testTimesEqualsLR()

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

Definition at line 645 of file FadUnitTests2.hpp.

◆ testDivideEqualsLR()

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

Definition at line 656 of file FadUnitTests2.hpp.

◆ testResizeBug6135()

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

Definition at line 667 of file FadUnitTests2.hpp.

◆ testEquality()

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

Definition at line 677 of file FadUnitTests2.hpp.

◆ testEqualityConstL()

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

Definition at line 692 of file FadUnitTests2.hpp.

◆ testEqualityConstR()

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

Definition at line 705 of file FadUnitTests2.hpp.

Member Data Documentation

◆ a_fad

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

Definition at line 159 of file FadUnitTests2.hpp.

◆ b_fad

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

Definition at line 159 of file FadUnitTests2.hpp.

◆ c_fad

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

Definition at line 159 of file FadUnitTests2.hpp.

◆ urand

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

Definition at line 162 of file FadUnitTests2.hpp.

◆ n

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

Definition at line 165 of file FadUnitTests2.hpp.

◆ tol_a

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

Definition at line 168 of file FadUnitTests2.hpp.

◆ tol_r

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: