MCPcopy Create free account
hub / github.com/Compaile/ctrack / test_function_with_sleep

Function test_function_with_sleep

test/test_helpers.hpp:255–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253// Test function with predictable timing
254template<size_t N>
255inline void test_function_with_sleep(int sleep_time_ms, const char(&name)[N]) {
256 CTRACK_NAME(name); // String literals have static storage duration
257 sleep_ms(sleep_time_ms);
258}
259
260// Overload for empty/runtime strings
261inline void test_function_with_sleep(int sleep_time_ms) {

Callers 1

test_results.cppFile · 0.70

Calls 1

sleep_msFunction · 0.85

Tested by

no test coverage detected