MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / main

Function main

tests/test-chat-peg-parser.cpp:25–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static void test_tagged_peg_parser(testing & t);
24
25int main(int argc, char * argv[]) {
26 testing t(std::cout);
27 if (argc >= 2) {
28 t.set_filter(argv[1]);
29 }
30
31 const char * verbose = getenv("LLAMA_TEST_VERBOSE");
32 if (verbose) {
33 t.verbose = std::string(verbose) == "1";
34 }
35
36 t.test("native", test_example_native);
37 t.test("qwen3 coder", test_example_qwen3_coder);
38 t.test("qwen3 non-coder", test_example_qwen3_non_coder);
39 t.test("comparison", test_command7_parser_compare);
40 t.test("prefix tool names", test_prefix_tool_names);
41 t.test("tagged peg parser", test_tagged_peg_parser);
42
43 return t.summary();
44}
45
46static json create_tools() {
47 json tools = json::array();

Callers

nothing calls this directly

Calls 4

stringClass · 0.85
set_filterMethod · 0.80
summaryMethod · 0.80
testMethod · 0.45

Tested by

no test coverage detected