frohzinn/bcbsma-storage / llama.cpp /tests /test-peg-parser.cpp
frohzinn's picture
download
raw
624 Bytes
#include <cstdlib>
#include <string>
#include <iostream>
#include "peg-parser/tests.h"
int main(int argc, char *argv[]) {
testing t(std::cout);
if (argc >= 2) {
t.set_filter(argv[1]);
}
const char * verbose = getenv("LLAMA_TEST_VERBOSE");
if (verbose) {
t.verbose = std::string(verbose) == "1";
}
t.test("basic", test_basic);
t.test("unicode", test_unicode);
t.test("json", test_json_parser);
t.test("gbnf", test_gbnf_generation);
t.test("serialization", test_json_serialization);
t.test("python-dict", test_python_dict_parser);
return t.summary();
}

Xet Storage Details

Size:
624 Bytes
·
Xet hash:
249c61820c0327880d2c40ef9a34600eb6eb84899a39a909c8fa244c3b6ce643

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.