MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / SetUp

Method SetUp

tests/test-scheduler-priority.cpp:218–224  ·  view source on GitHub ↗

* @brief Set up test environment for priority testing * * Clears all test state and initializes timing system for priority tests. */

Source from the content-addressed store, hash-verified

216 * Clears all test state and initializes timing system for priority tests.
217 */
218 void SetUp() override {
219 clearPriorityTestOutput();
220 priority_callback_counter = 0;
221 priority_execution_index = 0;
222 memset(priority_execution_times, 0, sizeof(priority_execution_times));
223 millis(); // Initialize timing
224 }
225
226 /**
227 * @brief Clean up test environment after priority tests

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected