MCPcopy Create free account
hub / github.com/cactus-compute/cactus / test_missing_config

Function test_missing_config

tests/test_model_loading.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29static bool test_missing_config() {
30 std::string dir = make_temp_dir("missing_config");
31 write_file(dir + "/dummy.bin", "placeholder");
32 bool ok = expect_init_fails(dir);
33 fs::remove_all(dir);
34 return ok;
35}
36
37static bool test_corrupt_weights() {
38 std::string dir = make_temp_dir("corrupt_weights");

Callers 1

mainFunction · 0.85

Calls 3

write_fileFunction · 0.85
expect_init_failsFunction · 0.85
make_temp_dirFunction · 0.70

Tested by

no test coverage detected