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

Function DYNAMIC_SECTION

tests/unit/operations.cpp:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 for (auto& [label, qureg]: quregs) {
145
146 DYNAMIC_SECTION( label ) {
147
148 // no need to validate whether qureg successfully
149 // enters the debug state here, because the below
150 // serial setToDebugState() is guaranteed to succeed
151 initDebugState(qureg);
152 setToDebugState(reference);
153
154 function(qureg, reference);
155 REQUIRE_AGREE( qureg, reference );
156 }
157 }
158}
159

Callers 1

Calls 3

initDebugStateFunction · 0.85
REQUIRE_AGREEFunction · 0.85
setToDebugStateFunction · 0.50

Tested by

no test coverage detected