MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / main

Function main

subprojects/llama.cpp/tests/test-chat-peg-parser.cpp:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20static void test_command7_parser_compare(testing & t);
21
22int main(int argc, char *argv[]) {
23 testing t(std::cout);
24 if (argc >= 2) {
25 t.set_filter(argv[1]);
26 }
27
28 const char * verbose = getenv("LLAMA_TEST_VERBOSE");
29 if (verbose) {
30 t.verbose = std::string(verbose) == "1";
31 }
32
33 t.test("native", test_example_native);
34 t.test("qwen3 coder", test_example_qwen3_coder);
35 t.test("comparison", test_command7_parser_compare);
36
37 return t.summary();
38}
39
40static json create_tools() {
41 json tools = json::array();

Callers

nothing calls this directly

Calls 4

stringClass · 0.85
set_filterMethod · 0.80
summaryMethod · 0.80
testMethod · 0.65

Tested by

no test coverage detected