MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / assertIntValuesEqual

Function assertIntValuesEqual

check/TestCAPI.c:225–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void assertIntValuesEqual(const char* name, const HighsInt is,
226 const HighsInt should_be) {
227 if (is != should_be) {
228 printf("Value %s = %" HIGHSINT_FORMAT " should be %" HIGHSINT_FORMAT "\n",
229 name, is, should_be);
230 assert(1 == 0);
231 }
232}
233
234void assertLogical(const char* name, const HighsInt is) {
235 if (is == 0) {

Callers 5

minimalApiQpFunction · 0.85
fullApiLpFunction · 0.85
fullApiQpFunction · 0.85
testPassHessianFunction · 0.85
testDualRayTwiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected