| 7 | } |
| 8 | |
| 9 | int main(int argc, char** argv) |
| 10 | { |
| 11 | b3SetCustomPrintfFunc(myprintf); |
| 12 | b3SetCustomWarningMessageFunc(myprintf); |
| 13 | |
| 14 | #if _MSC_VER |
| 15 | _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); |
| 16 | //void *testWhetherMemoryLeakDetectionWorks = malloc(1); |
| 17 | #endif |
| 18 | ::testing::InitGoogleTest(&argc, argv); |
| 19 | return RUN_ALL_TESTS(); |
| 20 | } |
nothing calls this directly
no test coverage detected