diff options
Diffstat (limited to 'bin/tests/test_math.cpp')
-rw-r--r-- | bin/tests/test_math.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/tests/test_math.cpp b/bin/tests/test_math.cpp index 22d14ada34..8e08969fa4 100644 --- a/bin/tests/test_math.cpp +++ b/bin/tests/test_math.cpp @@ -40,6 +40,9 @@ #include "scene/resources/texture.h" #include "vmap.h" #include "os/os.h" + +#include "method_ptrcall.h" + namespace TestMath { @@ -105,8 +108,12 @@ uint32_t ihash3( uint32_t a) return a; } + + + MainLoop* test() { + return NULL; { @@ -118,10 +125,7 @@ MainLoop* test() { for (List<StringName>::Element *E=tl.front();E;E=E->next()) { Vector<uint8_t> m5b = E->get().operator String().md5_buffer(); - uint32_t *ub = (uint32_t*)m5b.ptr(); - //hashes.push_back(ihash(ihash2(ihash3(*ub)))); hashes.push_back(hashes.size()); - //hashes.push_back(E->get().hash()); } |