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

Function test_missing_directory

tests/test_model_loading.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static const char* MINIMAL_CONFIG = R"({"model_type":"qwen","model_variant":"default","precision":"INT8","num_layers":2,"hidden_dim":64,"ffn_intermediate_dim":128,"attention_heads":2,"attention_kv_heads":2,"attention_head_dim":32,"vocab_size":100,"context_length":512})";
24
25static bool test_missing_directory() {
26 return expect_init_fails("/nonexistent/path/to/model");
27}
28
29static bool test_missing_config() {
30 std::string dir = make_temp_dir("missing_config");

Callers 1

mainFunction · 0.85

Calls 1

expect_init_failsFunction · 0.85

Tested by

no test coverage detected