Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
TestMeshCompare Class Reference
+ Inheritance diagram for TestMeshCompare:
+ Collaboration diagram for TestMeshCompare:

Public Member Functions

 TestMeshCompare ()
 
const char * getName () override
 
void runTests (IGameDef *gamedef) override
 
void testTriangle ()
 
void testQuad ()
 
- Public Member Functions inherited from TestBase
bool testModule (IGameDef *gamedef)
 
std::string getTestTempDirectory ()
 
std::string getTestTempFile ()
 
void runTest (const char *name, std::function< void()> &&test)
 

Additional Inherited Members

- Public Attributes inherited from TestBase
u32 num_tests_failed
 
u32 num_tests_run
 

Constructor & Destructor Documentation

◆ TestMeshCompare()

TestMeshCompare::TestMeshCompare ( )
inline

References TestManager::registerTestModule().

+ Here is the call graph for this function:

Member Function Documentation

◆ getName()

const char * TestMeshCompare::getName ( )
inlineoverridevirtual

Implements TestBase.

◆ runTests()

void TestMeshCompare::runTests ( IGameDef * gamedef)
inlineoverridevirtual

Implements TestBase.

References TEST, testQuad(), and testTriangle().

+ Here is the call graph for this function:

◆ testQuad()

void TestMeshCompare::testQuad ( )
inline

References checkMeshEqual(), and UASSERT.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ testTriangle()

void TestMeshCompare::testTriangle ( )
inline

References checkMeshEqual(), and UASSERT.

Referenced by runTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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