MCPcopy Create free account
hub / github.com/Gecode/gecode / c

Method c

test/int/exec.cpp:131–138  ·  view source on GitHub ↗

Continuation to be executed

Source from the content-addressed store, hash-verified

129 }
130 /// Continuation to be executed
131 static void c(Gecode::Space& _home) {
132 TestSpace& home = static_cast<TestSpace&>(_home);
133 int t=0;
134 for (int i=0; i<home.x.size(); i++)
135 t += home.x[i].val();
136 if (t!=2)
137 home.fail();
138 }
139 };
140
141 /// Simple test for when

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
valMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected