MCPcopy Create free account
hub / github.com/cpputest/cpputest / returnDoubleValueOrDefault_c

Function returnDoubleValueOrDefault_c

src/CppUTestExt/MockSupport_c.cpp:953–959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953double returnDoubleValueOrDefault_c(double defaultValue)
954{
955 if (!hasReturnValue_c()) {
956 return defaultValue;
957 }
958 return doubleReturnValue_c();
959}
960
961void* pointerReturnValue_c()
962{

Callers

nothing calls this directly

Calls 2

hasReturnValue_cFunction · 0.85
doubleReturnValue_cFunction · 0.85

Tested by

no test coverage detected