Inheritance diagram for TestNoise:
Collaboration diagram for TestNoise:Public Member Functions | |
| TestNoise () | |
| const char * | getName () |
| void | runTests (IGameDef *gamedef) |
| void | testNoise2dAtOriginWithZeroSeed () |
| void | testNoise2dWithMaxSeed () |
| void | testNoise2dWithFunPrimes () |
| void | testNoise2dPoint () |
| void | testNoise2dBulk () |
| void | testNoise3dAtOriginWithZeroSeed () |
| void | testNoise3dWithMaxSeed () |
| void | testNoise3dWithFunPrimes () |
| void | testNoise3dPoint () |
| void | testNoise3dBulk () |
| void | testNoiseInvalidParams () |
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) |
Static Public Attributes | |
| static const float | expected_2d_results [10 *10] |
| static const float | expected_3d_results [10 *10 *10] |
Additional Inherited Members | |
Public Attributes inherited from TestBase | |
| u32 | num_tests_failed |
| u32 | num_tests_run |
|
inline |
|
inlinevirtual |
Implements TestBase.
|
virtual |
Implements TestBase.
References TEST, testNoise2dAtOriginWithZeroSeed(), testNoise2dBulk(), testNoise2dPoint(), testNoise2dWithFunPrimes(), testNoise2dWithMaxSeed(), testNoise3dAtOriginWithZeroSeed(), testNoise3dBulk(), testNoise3dPoint(), testNoise3dWithFunPrimes(), testNoise3dWithMaxSeed(), and testNoiseInvalidParams().
Here is the call graph for this function:| void TestNoise::testNoise2dAtOriginWithZeroSeed | ( | ) |
References noise2d(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise2dBulk | ( | ) |
References expected_2d_results, Noise::perlinMap2D(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise2dPoint | ( | ) |
References expected_2d_results, NoisePerlin2D(), UASSERT, x, and y.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise2dWithFunPrimes | ( | ) |
References noise2d(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise2dWithMaxSeed | ( | ) |
References noise2d(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise3dAtOriginWithZeroSeed | ( | ) |
References noise2d(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise3dBulk | ( | ) |
References expected_3d_results, Noise::perlinMap3D(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise3dPoint | ( | ) |
References expected_3d_results, NoisePerlin3D(), UASSERT, x, y, and z.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise3dWithFunPrimes | ( | ) |
References noise2d(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoise3dWithMaxSeed | ( | ) |
References noise3d(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:| void TestNoise::testNoiseInvalidParams | ( | ) |
References Noise::perlinMap3D(), and UASSERT.
Referenced by runTests().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by testNoise2dBulk(), and testNoise2dPoint().
|
static |
Referenced by testNoise3dBulk(), and testNoise3dPoint().