Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法可靠地强制SDL_Init()在测试用例中使用失败?
SDL_Init()
我认为您可以通过不包含 SDL 动态链接库 (SDL.dll) 来强制它失败。