From b5ef4202541f4cade5aa8a005bcb608d62b5ad68 Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Wed, 13 Sep 2023 20:06:52 +0800 Subject: [PATCH] Added ActiveIDManagerTest.cpp --- datatype/ActiveIDManagerTest.cpp | 77 ++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 datatype/ActiveIDManagerTest.cpp diff --git a/datatype/ActiveIDManagerTest.cpp b/datatype/ActiveIDManagerTest.cpp new file mode 100644 index 0000000..a31f1b3 --- /dev/null +++ b/datatype/ActiveIDManagerTest.cpp @@ -0,0 +1,77 @@ +#include +#include + +using namespace hgl; +using namespace std; + +void DebugOutputArray(const char *hint,const int *id,const int count) +{ + cout<<"("< &da) +{ + DebugOutputArray(hint,da.GetData(),da.GetCount()); +} + +void DebugAIMOutput(const char *hint,const ActiveIDManager &aim) +{ + cout<