Peano
Loading...
Searching...
No Matches
exahype2::dg::tests::DGUtilsTest Class Reference

#include <DGUtilsTest.h>

Inheritance diagram for exahype2::dg::tests::DGUtilsTest:
Collaboration diagram for exahype2::dg::tests::DGUtilsTest:

Public Member Functions

 DGUtilsTest ()
 
virtual ~DGUtilsTest ()=default
 
void run () override
 This routine is triggered by the TestCaseCollection.
 
- 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 testGetIndex ()
 
void testComputeGradientOnConstantSolution ()
 
void testEvaluatePolynomialOrder1 ()
 
void testEvaluatePolynomialOrder2 ()
 

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 18 of file DGUtilsTest.h.

Constructor & Destructor Documentation

◆ DGUtilsTest()

exahype2::dg::tests::DGUtilsTest::DGUtilsTest ( )

Definition at line 12 of file DGUtilsTest.cpp.

◆ ~DGUtilsTest()

virtual exahype2::dg::tests::DGUtilsTest::~DGUtilsTest ( )
virtualdefault

Member Function Documentation

◆ run()

void exahype2::dg::tests::DGUtilsTest::run ( )
overridevirtual

This routine is triggered by the TestCaseCollection.

Implements tarch::tests::TestCase.

Definition at line 17 of file DGUtilsTest.cpp.

References testMethod.

◆ testComputeGradientOnConstantSolution()

void exahype2::dg::tests::DGUtilsTest::testComputeGradientOnConstantSolution ( )
private

◆ testEvaluatePolynomialOrder1()

void exahype2::dg::tests::DGUtilsTest::testEvaluatePolynomialOrder1 ( )
private

◆ testEvaluatePolynomialOrder2()

◆ testGetIndex()

void exahype2::dg::tests::DGUtilsTest::testGetIndex ( )
private

Definition at line 127 of file DGUtilsTest.cpp.

References exahype2::dg::getIndex(), exahype2::dg::getNodesPerCell(), exahype2::dg::getStrides(), and validateEquals.

Here is the call graph for this function:

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