Testing around

This commit is contained in:
2026-09-16 21:20:45 +02:00
parent 01d3eb771e
commit 8c2bcedc93
2 changed files with 18 additions and 0 deletions
+17
View File
@@ -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<PD::OsDriver>();
ColorTests();
IDTests();
std::cout << PD::Os::GetTime() << std::endl;
PD::Pool<int> pool;
pool.Init(90);
+1
View File
@@ -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")) {