MyTinySTL icon indicating copy to clipboard operation
MyTinySTL copied to clipboard

mystl::test::UnitTest::GetInstance()->Run()是怎么将test案例放进容器里面的的呢?

Open billfjj opened this issue 2 years ago • 1 comments

我看代码里面的RegisterTestCase(TestCase* testcase);函数才是将案例放进容器里,但test.cpp的main函数中没有看到这句话呢,我是错过了哪里,求大佬讲解一下

billfjj avatar Sep 07 '22 13:09 billfjj

额,我已经找到了放入案例的过程,在test.h MYTINYSTL_TEST_(testcase_name) 这个宏定义里

billfjj avatar Sep 07 '22 13:09 billfjj