Peano 4
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 ()
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)
virtual ~TestCase ()
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 ( )


Definition at line 10 of file LUDecompositionTest.cpp.

◆ ~LUDecompositionTest()

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

Destructor, empty.

Definition at line 35 of file LUDecompositionTest.h.

Member Function Documentation

◆ run()

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

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 ( )

Setup your test case.

Definition at line 45 of file LUDecompositionTest.h.

◆ testInversion()

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

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 ( )

Definition at line 26 of file LUDecompositionTest.cpp.

◆ testLUNoPivoting()

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

Definition at line 22 of file LUDecompositionTest.cpp.

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