MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / main

Function main

tests/deprecated/test_main.cpp:41–51  ·  view source on GitHub ↗

Explicit declaration of main to create (destroy) the QuESTEnv before (after) * invoking the Catch unit tests */

Source from the content-addressed store, hash-verified

39 * invoking the Catch unit tests
40 */
41int main(int argc, char* argv[]) {
42
43 initQuESTEnv();
44 setInputErrorHandler(validationErrorHandler);
45 setRandomTestStateSeeds();
46
47 int result = Catch::Session().run( argc, argv );
48
49 finalizeQuESTEnv();
50 return result;
51}

Callers

nothing calls this directly

Calls 4

initQuESTEnvFunction · 0.85
setInputErrorHandlerFunction · 0.85
finalizeQuESTEnvFunction · 0.85
setRandomTestStateSeedsFunction · 0.70

Tested by

no test coverage detected