Testing around
This commit is contained in:
@@ -20,9 +20,26 @@ bool ColorTests() {
|
|||||||
return true;
|
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() {
|
int main() {
|
||||||
PD::Os::UseDriver<PD::OsDriver>();
|
PD::Os::UseDriver<PD::OsDriver>();
|
||||||
ColorTests();
|
ColorTests();
|
||||||
|
IDTests();
|
||||||
std::cout << PD::Os::GetTime() << std::endl;
|
std::cout << PD::Os::GetTime() << std::endl;
|
||||||
PD::Pool<int> pool;
|
PD::Pool<int> pool;
|
||||||
pool.Init(90);
|
pool.Init(90);
|
||||||
|
|||||||
@@ -308,6 +308,7 @@ int main(int argc, char** argv) {
|
|||||||
PD::TT::Beg("BuildUI7Menus");
|
PD::TT::Beg("BuildUI7Menus");
|
||||||
if (auto m = ui7.BeginMenu("Test")) {
|
if (auto m = ui7.BeginMenu("Test")) {
|
||||||
m->Label("Hello World!");
|
m->Label("Hello World!");
|
||||||
|
m->Image(pTex, 128.f);
|
||||||
ui7.EndMenu();
|
ui7.EndMenu();
|
||||||
}
|
}
|
||||||
if (auto m = ui7.BeginMenu("LI DBG INFO")) {
|
if (auto m = ui7.BeginMenu("LI DBG INFO")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user