void WCPrint(const char *format, ...)
{
#ifdef CFG_TEST
char buffer[1024] = {0};
va_list args;
va_start(args, format);
vsnprintf(buffer,1024, format, args);
va_end(args);
printf("%s", buffer);
#endif
}
void WCAssert(bool cond,const char *msg =NULL)
{
#ifdef CFG_TEST
if(cond){return;}
printf("WCAssert failed:%s\n", msg);
assert(cond);
#endif
}