add test codes, it can't run

This commit is contained in:
2024-03-21 20:14:38 +08:00
parent d2c87d3c72
commit 6ec6847c0c
4 changed files with 29 additions and 197 deletions

17
utils/SeriesPoolTest.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include<iostream>
#include<hgl/type/SeriesPool.h>
#include<hgl/u>
using namespace std;
using namespace hgl;
constexpr int POOL_MAX_COUNT=10;
int os_main(int,os_char **)
{
SeriesU8 sp(POOL_MAX_COUNT);
cout<<"Series pool MaxCount="<<sp.GetMaxCount()<<endl;
}