#include "test.h"#include <cmath>#include "util/enriched_string.h"#include "util/numeric.h"#include "util/string.h"#include "util/base64.h"#include "util/colorize.h"
Include dependency graph for test_utilities.cpp:Classes | |
| class | TestUtilities |
Macros | |
| #define | cast_v3(T, other) T((other).X, (other).Y, (other).Z) |
Functions | |
| float | ref_WrapDegrees180 (float f) |
| float | ref_WrapDegrees_0_360 (float f) |
| static bool | within (const f32 value1, const f32 value2, const f32 precision) |
| static bool | within (const v3f &v1, const v3f &v2, const f32 precision) |
| static bool | within (const core::matrix4 &m1, const core::matrix4 &m2, const f32 precision) |
| static bool | roundTripsDeg (const v3f &v, const f32 precision) |
| template<typename F , typename C > | |
| C | apply_all (const C &co, F functor) |
Variables | |
| static TestUtilities | g_test_instance |
| #define cast_v3 | ( | T, | |
| other ) T((other).X, (other).Y, (other).Z) |
Referenced by TestUtilities::testIsBlockInSight().
| C apply_all | ( | const C & | co, |
| F | functor ) |
|
inline |
|
inline |
|
static |
References getPitchYawRoll(), setPitchYawRoll(), and within().
Referenced by TestUtilities::testEulerConversion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Referenced by roundTripsDeg(), TestUtilities::testEulerConversion(), within(), and within().
Here is the caller graph for this function:
|
static |