CoolFace
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 3d agoView on Hugging Face
0likes1.1kdownloads
tests.h26 linesDownload Raw Back to peg-parser
1#pragma once2 3// Common includes for all test files4#include "json.h"5#include <string>6#include <vector>7 8#include "../testing.h"9#include "peg-parser.h"10#include "chat-peg-parser.h"11#include "simple-tokenize.h"12 13struct bench_tool_call {14    std::string id;15    std::string name;16    common_json args;17};18 19// Test function declarations20void test_basic(testing &t);21void test_json_parser(testing &t);22void test_gbnf_generation(testing &t);23void test_unicode(testing &t);24void test_json_serialization(testing &t);25void test_python_dict_parser(testing &t);26