Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
billfjj opened this issue Sep 7, 2022 · 1 comment

Comments

@billfjj
Copy link

billfjj commented Sep 7, 2022

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

@billfjj
Copy link
Author

billfjj commented Sep 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant