MCPcopy Create free account
hub / github.com/antirez/ds4 / test_get_engine

Function test_get_engine

tests/ds4_test.c:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 test_env_u32("DS4_TEST_SSD_STREAMING_CACHE_EXPERTS"),
115 .ssd_streaming_cache_bytes =
116 test_env_gib("DS4_TEST_SSD_STREAMING_CACHE_GB"),
117 .ssd_streaming_preload_experts =
118 test_env_u32("DS4_TEST_SSD_STREAMING_PRELOAD_EXPERTS"),
119 .mtp_path = (mtp && mtp[0] && !quality) ? mtp : NULL,
120 .mtp_draft_tokens = (mtp && mtp[0] && !quality) ? 4 : 0,
121 .glm_mtp = test_env_bool("DS4_TEST_GLM_MTP"),
122 };
123 TEST_ASSERT(ds4_engine_open(&engine, &opt) == 0);
124 return engine;
125}

Callers 5

test_think_tool_recoveryFunction · 0.85
test_mtp_verify_depthFunction · 0.85

Calls 1

test_open_engineFunction · 0.85

Tested by

no test coverage detected