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

Function validate_controlsMatchStates

quest/src/core/validation.cpp:3677–3685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3675}
3676
3677void validate_controlsMatchStates(int numCtrls, int numStates, const char* caller) {
3678
3679 // only invocable by the C++ interface
3680 tokenSubs vars = {
3681 {"${NUM_CTRLS}", numCtrls},
3682 {"${NUM_STATES}", numStates}};
3683
3684 assertThat(numCtrls == numStates, report::DIFFERENT_NUM_CTRLS_AND_STATES, vars, caller);
3685}
3686
3687
3688

Calls 1

assertThatFunction · 0.85

Tested by

no test coverage detected