| 82 | static void test_tagged_args_with_embedded_quotes(testing & t); |
| 83 | |
| 84 | int main(int argc, char * argv[]) { |
| 85 | testing t(std::cout); |
| 86 | t.verbose = true; |
| 87 | |
| 88 | // usage: test-chat-auto-parser-helpers [filter_regex] |
| 89 | |
| 90 | if (argc > 1) { |
| 91 | t.set_filter(argv[1]); |
| 92 | } |
| 93 | |
| 94 | t.test("diff_split", test_calculate_diff_split); |
| 95 | t.test("common_prefix", test_until_common_prefix); |
| 96 | t.test("common_suffix", test_after_common_suffix); |
| 97 | t.test("compare_variants", test_compare_variants); |
| 98 | t.test("segments", test_marker_separation); |
| 99 | t.test("seed_oss_diffs", test_seed_oss_tool_analysis); |
| 100 | t.test("cohere", test_cohere_analysis); |
| 101 | t.test("nemotron", test_nemotron_analysis); |
| 102 | t.test("smollm3", test_smollm3_analysis); |
| 103 | t.test("standard_json_tools", test_standard_json_tools_formats); |
| 104 | t.test("normalize_quotes_to_json", test_normalize_quotes_to_json); |
| 105 | t.test("tagged_args_embedded_quotes", test_tagged_args_with_embedded_quotes); |
| 106 | |
| 107 | return t.summary(); |
| 108 | } |
| 109 | |
| 110 | static void test_marker_separation(testing & t) { |
| 111 | auto single_square_marker = segmentize_markers("pre_marker[marker]post_marker"); |
nothing calls this directly
no test coverage detected