#include <LogicalSparseUnitTests.hpp>
Public Member Functions | |
| LogicalSparseOpsUnitTest () | |
| LogicalSparseOpsUnitTest (int numComponents, double absolute_tolerance, double relative_tolerance) | |
| void | setUp () |
| void | tearDown () |
| void | compareFads (const DFadType &x_dfad, const LSType &x_ls) |
| void | compareDoubles (double a, double b) |
| void | compareBools (bool a, bool b) |
| void | compareDx (double a, bool b) |
| BINARY_OP_TEST (testAddition,+) | |
| BINARY_OP_TEST (testSubtraction,-) | |
| BINARY_OP_TEST (testMultiplication,*) | |
| BINARY_OP_TEST (testDivision,/) | |
| RELOP_TEST (testEquals,==) | |
| RELOP_TEST (testNotEquals,!=) | |
| RELOP_TEST (testLessThanOrEquals,<=) | |
| RELOP_TEST (testGreaterThanOrEquals, >=) | |
| RELOP_TEST (testLessThan,<) | |
| RELOP_TEST (testGreaterThan, >) | |
| BINARY_FUNC_TEST (testPow, pow) | |
| UNARY_OP_TEST (testUnaryPlus,+) | |
| UNARY_OP_TEST (testUnaryMinus,-) | |
| UNARY_FUNC_TEST (testExp, exp) | |
| UNARY_FUNC_TEST (testLog, log) | |
| UNARY_FUNC_TEST (testLog10, log10) | |
| UNARY_FUNC_TEST (testSqrt, sqrt) | |
| UNARY_FUNC_TEST (testCos, cos) | |
| UNARY_FUNC_TEST (testSin, sin) | |
| UNARY_FUNC_TEST (testTan, tan) | |
| UNARY_FUNC_TEST (testACos, acos) | |
| UNARY_FUNC_TEST (testASin, asin) | |
| UNARY_FUNC_TEST (testATan, atan) | |
| UNARY_FUNC_TEST (testCosh, cosh) | |
| UNARY_FUNC_TEST (testSinh, sinh) | |
| UNARY_FUNC_TEST (testTanh, tanh) | |
| UNARY_FUNC_TEST (testAbs, abs) | |
| UNARY_FUNC_TEST (testFAbs, fabs) | |
| UNARY_ASSIGNOP_TEST (testPlusEquals,+=) | |
| UNARY_ASSIGNOP_TEST (testMinusEquals,-=) | |
| UNARY_ASSIGNOP_TEST (testTimesEquals,*=) | |
| UNARY_ASSIGNOP_TEST (testDivideEquals,/=) | |
| void | testMax () |
| void | testMin () |
| template<typename ScalarT> | |
| ScalarT | composite1 (const ScalarT &a, const ScalarT &b) |
| void | testComposite1 () |
| void | testPlusLR () |
| void | testMinusLR () |
| void | testTimesLR () |
| void | testDivideLR () |
Protected Attributes | |
| DFadType | a_dfad |
| DFadType | b_dfad |
| DFadType | c_dfad |
| LSType | a_ls |
| LSType | b_ls |
| LSType | c_ls |
| Sacado::Random | urand |
| int | n |
| double | tol_a |
| double | tol_r |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (LogicalSparseOpsUnitTest) | |
| CPPUNIT_TEST (testAddition) | |
| CPPUNIT_TEST (testSubtraction) | |
| CPPUNIT_TEST (testMultiplication) | |
| CPPUNIT_TEST (testDivision) | |
| CPPUNIT_TEST (testEquals) | |
| CPPUNIT_TEST (testNotEquals) | |
| CPPUNIT_TEST (testLessThanOrEquals) | |
| CPPUNIT_TEST (testGreaterThanOrEquals) | |
| CPPUNIT_TEST (testLessThan) | |
| CPPUNIT_TEST (testGreaterThan) | |
| CPPUNIT_TEST (testPow) | |
| CPPUNIT_TEST (testMax) | |
| CPPUNIT_TEST (testMin) | |
| 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 (testACos) | |
| CPPUNIT_TEST (testASin) | |
| CPPUNIT_TEST (testATan) | |
| CPPUNIT_TEST (testCosh) | |
| CPPUNIT_TEST (testSinh) | |
| CPPUNIT_TEST (testTanh) | |
| CPPUNIT_TEST (testAbs) | |
| CPPUNIT_TEST (testFAbs) | |
| CPPUNIT_TEST (testPlusEquals) | |
| CPPUNIT_TEST (testMinusEquals) | |
| CPPUNIT_TEST (testTimesEquals) | |
| CPPUNIT_TEST (testDivideEquals) | |
| CPPUNIT_TEST (testComposite1) | |
| CPPUNIT_TEST (testPlusLR) | |
| CPPUNIT_TEST (testMinusLR) | |
| CPPUNIT_TEST (testTimesLR) | |
| CPPUNIT_TEST (testDivideLR) | |
| CPPUNIT_TEST_SUITE_END () | |
Definition at line 120 of file LogicalSparseUnitTests.hpp.
| LogicalSparseOpsUnitTest::LogicalSparseOpsUnitTest | ( | ) |
Definition at line 36 of file LogicalSparseUnitTests.cpp.
| LogicalSparseOpsUnitTest::LogicalSparseOpsUnitTest | ( | int | numComponents, | |
| double | absolute_tolerance, | |||
| double | relative_tolerance | |||
| ) |
Definition at line 39 of file LogicalSparseUnitTests.cpp.
| LogicalSparseOpsUnitTest::CPPUNIT_TEST_SUITE | ( | LogicalSparseOpsUnitTest | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testAddition | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testSubtraction | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testMultiplication | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testDivision | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testNotEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testLessThanOrEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testGreaterThanOrEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testLessThan | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testGreaterThan | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testPow | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testMax | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testMin | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testUnaryPlus | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testUnaryMinus | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testExp | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testLog | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testLog10 | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testSqrt | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testCos | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testSin | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testTan | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testACos | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testASin | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testATan | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testCosh | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testSinh | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testTanh | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testAbs | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testFAbs | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testPlusEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testMinusEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testTimesEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testDivideEquals | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testComposite1 | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testPlusLR | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testMinusLR | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testTimesLR | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST | ( | testDivideLR | ) | [private] |
| LogicalSparseOpsUnitTest::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
| void LogicalSparseOpsUnitTest::setUp | ( | ) |
Definition at line 47 of file LogicalSparseUnitTests.cpp.
| void LogicalSparseOpsUnitTest::tearDown | ( | ) |
Definition at line 73 of file LogicalSparseUnitTests.cpp.
Definition at line 75 of file LogicalSparseUnitTests.cpp.
| void LogicalSparseOpsUnitTest::compareDoubles | ( | double | a, | |
| double | b | |||
| ) |
Definition at line 97 of file LogicalSparseUnitTests.cpp.
| void LogicalSparseOpsUnitTest::compareBools | ( | bool | a, | |
| bool | b | |||
| ) |
Definition at line 101 of file LogicalSparseUnitTests.cpp.
| void LogicalSparseOpsUnitTest::compareDx | ( | double | a, | |
| bool | b | |||
| ) |
Definition at line 105 of file LogicalSparseUnitTests.cpp.
| LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testAddition | , | |
| + | ||||
| ) |
| LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testSubtraction | , | |
| - | ||||
| ) |
| LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testMultiplication | , | |
| * | ||||
| ) |
| LogicalSparseOpsUnitTest::BINARY_OP_TEST | ( | testDivision | , | |
| / | ||||
| ) |
| LogicalSparseOpsUnitTest::RELOP_TEST | ( | testEquals | ) |
| LogicalSparseOpsUnitTest::RELOP_TEST | ( | testNotEquals | , | |
| ! | ||||
| ) |
| LogicalSparseOpsUnitTest::RELOP_TEST | ( | testLessThanOrEquals | , | |
| <= | ||||
| ) |
| LogicalSparseOpsUnitTest::RELOP_TEST | ( | testGreaterThanOrEquals | , | |
| >= | ||||
| ) |
| LogicalSparseOpsUnitTest::RELOP_TEST | ( | testLessThan | ) |
| LogicalSparseOpsUnitTest::RELOP_TEST | ( | testGreaterThan | ) |
| LogicalSparseOpsUnitTest::BINARY_FUNC_TEST | ( | testPow | , | |
| pow | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_OP_TEST | ( | testUnaryPlus | , | |
| + | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_OP_TEST | ( | testUnaryMinus | , | |
| - | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testExp | , | |
| exp | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testLog | , | |
| log | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testLog10 | , | |
| log10 | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testSqrt | , | |
| sqrt | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testCos | , | |
| cos | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testSin | , | |
| sin | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testTan | , | |
| tan | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testACos | , | |
| acos | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testASin | , | |
| asin | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testATan | , | |
| atan | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testCosh | , | |
| cosh | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testSinh | , | |
| sinh | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testTanh | , | |
| tanh | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testAbs | , | |
| abs | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_FUNC_TEST | ( | testFAbs | , | |
| fabs | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testPlusEquals | , | |
| + | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testMinusEquals | , | |
| - | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testTimesEquals | , | |
| * | ||||
| ) |
| LogicalSparseOpsUnitTest::UNARY_ASSIGNOP_TEST | ( | testDivideEquals | , | |
| / | ||||
| ) |
| void LogicalSparseOpsUnitTest::testMax | ( | ) |
Definition at line 109 of file LogicalSparseUnitTests.cpp.
| void LogicalSparseOpsUnitTest::testMin | ( | ) |
Definition at line 192 of file LogicalSparseUnitTests.cpp.
| ScalarT LogicalSparseOpsUnitTest::composite1 | ( | const ScalarT & | a, | |
| const ScalarT & | b | |||
| ) | [inline] |
Definition at line 238 of file LogicalSparseUnitTests.hpp.
| void LogicalSparseOpsUnitTest::testComposite1 | ( | ) | [inline] |
Definition at line 251 of file LogicalSparseUnitTests.hpp.
| void LogicalSparseOpsUnitTest::testPlusLR | ( | ) | [inline] |
Definition at line 257 of file LogicalSparseUnitTests.hpp.
| void LogicalSparseOpsUnitTest::testMinusLR | ( | ) | [inline] |
Definition at line 267 of file LogicalSparseUnitTests.hpp.
| void LogicalSparseOpsUnitTest::testTimesLR | ( | ) | [inline] |
Definition at line 277 of file LogicalSparseUnitTests.hpp.
| void LogicalSparseOpsUnitTest::testDivideLR | ( | ) | [inline] |
Definition at line 287 of file LogicalSparseUnitTests.hpp.
DFadType LogicalSparseOpsUnitTest::a_dfad [protected] |
Definition at line 300 of file LogicalSparseUnitTests.hpp.
DFadType LogicalSparseOpsUnitTest::b_dfad [protected] |
Definition at line 300 of file LogicalSparseUnitTests.hpp.
DFadType LogicalSparseOpsUnitTest::c_dfad [protected] |
Definition at line 300 of file LogicalSparseUnitTests.hpp.
LSType LogicalSparseOpsUnitTest::a_ls [protected] |
Definition at line 303 of file LogicalSparseUnitTests.hpp.
LSType LogicalSparseOpsUnitTest::b_ls [protected] |
Definition at line 303 of file LogicalSparseUnitTests.hpp.
LSType LogicalSparseOpsUnitTest::c_ls [protected] |
Definition at line 303 of file LogicalSparseUnitTests.hpp.
Sacado::Random LogicalSparseOpsUnitTest::urand [protected] |
Definition at line 306 of file LogicalSparseUnitTests.hpp.
int LogicalSparseOpsUnitTest::n [protected] |
Definition at line 309 of file LogicalSparseUnitTests.hpp.
double LogicalSparseOpsUnitTest::tol_a [protected] |
Definition at line 312 of file LogicalSparseUnitTests.hpp.
double LogicalSparseOpsUnitTest::tol_r [protected] |
Definition at line 312 of file LogicalSparseUnitTests.hpp.
1.4.7