diff --git a/tests/core/source/main.cpp b/tests/core/source/main.cpp index bb525cb..2b9fc67 100644 --- a/tests/core/source/main.cpp +++ b/tests/core/source/main.cpp @@ -20,9 +20,26 @@ bool ColorTests() { return true; } +bool IDTests() { + std::cout << std::format("HashID32(\"1234\") -> {:016X}", + PD::HashID32("1234").Get()) + << std::endl; + std::cout << std::format("HashID32(\"1235\") -> {:016X}", + PD::HashID32("1235").Get()) + << std::endl; + std::cout << std::format("HashID64(\"1234\") -> {:016X}", + PD::HashID64("1234").Get()) + << std::endl; + std::cout << std::format("HashID64(\"1235\") -> {:016X}", + PD::HashID64("1235").Get()) + << std::endl; + return true; +} + int main() { PD::Os::UseDriver(); ColorTests(); + IDTests(); std::cout << PD::Os::GetTime() << std::endl; PD::Pool pool; pool.Init(90); diff --git a/tests/gfx/source/main.cpp b/tests/gfx/source/main.cpp index 42602b4..f38ec8a 100644 --- a/tests/gfx/source/main.cpp +++ b/tests/gfx/source/main.cpp @@ -308,6 +308,7 @@ int main(int argc, char** argv) { PD::TT::Beg("BuildUI7Menus"); if (auto m = ui7.BeginMenu("Test")) { m->Label("Hello World!"); + m->Image(pTex, 128.f); ui7.EndMenu(); } if (auto m = ui7.BeginMenu("LI DBG INFO")) {