| 921 | } |
| 922 | |
| 923 | void print_test(const test & t) override { |
| 924 | fprintf(fout, "INSERT INTO test (%s) ", join(test::get_fields(), ", ").c_str()); |
| 925 | fprintf(fout, "VALUES ("); |
| 926 | std::vector<std::string> values = t.get_values(); |
| 927 | for (size_t i = 0; i < values.size(); i++) { |
| 928 | fprintf(fout, "'%s'%s", values.at(i).c_str(), i < values.size() - 1 ? ", " : ""); |
| 929 | } |
| 930 | fprintf(fout, ");\n"); |
| 931 | } |
| 932 | }; |
| 933 | |
| 934 | static void test_prompt(llama_context * ctx, int n_prompt, int n_past, int n_batch, int n_threads) { |
nothing calls this directly
no test coverage detected