MCPcopy Create free account
hub / github.com/cutdigital/mcut / UTEST

Function UTEST

tests/source/createContext.cpp:108–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108UTEST(CreateContext, noFlags)
109{
110 McContext context;
111 McResult err = mcCreateContext(&context, 0);
112 EXPECT_TRUE(context != nullptr);
113 EXPECT_EQ(err, MC_NO_ERROR);
114
115 err = mcReleaseContext(context);
116 EXPECT_EQ(err, MC_NO_ERROR);
117}
118
119UTEST(CreateContext, debugFlag)
120{

Callers

nothing calls this directly

Calls 3

mcCreateContextFunction · 0.85
mcReleaseContextFunction · 0.85

Tested by

no test coverage detected