Peano 4
Loading...
Searching...
No Matches
tarch::la::tests::LUDecompositionTest Class Reference

#include <LUDecompositionTest.h>

Inheritance diagram for tarch::la::tests::LUDecompositionTest:
Collaboration diagram for tarch::la::tests::LUDecompositionTest:

Public Member Functions

 LUDecompositionTest ()
 Constructor.
 
virtual ~LUDecompositionTest ()
 Destructor, empty.
 
virtual void run ()
 This routine is triggered by the TestCaseCollection.
 
virtual void setUp ()
 Setup your test case.
 
- Public Member Functions inherited from tarch::tests::TestCase
 TestCase (const std::string &testCaseName)
 Constructor.
 
virtual ~TestCase ()
 Destructor.
 
int getNumberOfErrors () const
 
std::string getTestCaseName () const
 

Private Member Functions

void testLUNoPivoting ()
 
void testLU ()
 
void testInversion ()
 

Additional Inherited Members

- Protected Member Functions inherited from tarch::tests::TestCase
 TestCase ()=delete
 
- Protected Attributes inherited from tarch::tests::TestCase
const std::string _testCaseName
 Name of the test case.
 
int _errors
 Error counter.
 
bool _error
 Indicate within macro if one specific validation failed.
 

Detailed Description

Definition at line 15 of file LUDecompositionTest.h.

Constructor & Destructor Documentation

◆ LUDecompositionTest()

tarch::la::tests::LUDecompositionTest::LUDecompositionTest ( )

Constructor.

Definition at line 10 of file LUDecompositionTest.cpp.

◆ ~LUDecompositionTest()

virtual tarch::la::tests::LUDecompositionTest::~LUDecompositionTest ( )
virtual

Destructor, empty.

Definition at line 35 of file LUDecompositionTest.h.

Member Function Documentation

◆ run()

void tarch::la::tests::LUDecompositionTest::run ( )
virtual

This routine is triggered by the TestCaseCollection.

Implements tarch::tests::TestCase.

Definition at line 15 of file LUDecompositionTest.cpp.

References testMethod.

◆ setUp()

virtual void tarch::la::tests::LUDecompositionTest::setUp ( )
virtual

Setup your test case.

Definition at line 45 of file LUDecompositionTest.h.

◆ testInversion()

void tarch::la::tests::LUDecompositionTest::testInversion ( )
private

Definition at line 63 of file LUDecompositionTest.cpp.

References tarch::la::invert(), and validateEquals.

Here is the call graph for this function:

◆ testLU()

void tarch::la::tests::LUDecompositionTest::testLU ( )
private

Definition at line 26 of file LUDecompositionTest.cpp.

◆ testLUNoPivoting()

void tarch::la::tests::LUDecompositionTest::testLUNoPivoting ( )
private

Definition at line 22 of file LUDecompositionTest.cpp.


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