MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / main

Function main

test/SharedMemory/gtestwrap.cpp:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9int 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}

Callers

nothing calls this directly

Calls 4

b3SetCustomPrintfFuncFunction · 0.85
InitGoogleTestFunction · 0.85
RUN_ALL_TESTSFunction · 0.85

Tested by

no test coverage detected