<commit_before><commit_msg>add test<commit_after>/*
 * http_parser_test.cpp
 *
 *  Created on: Oct 30, 2014
 *      Author: liao
 */
#include "http_parser.h"
#include "simple_log.h"

int main () {
	std::string temp = "  aaa:bbb\r\n";
	std::vector<std::string> parts = split_str(temp, ':');
	LOG_DEBUG("parts[0]:%s", parts[0].c_str())
	LOG_DEBUG("parts[1]:%s", parts[1].c_str())
	return 0;
}
{'fraction_non_alphanumeric': 0.21025641025641026, 'fraction_numerical': 0.028205128205128206, 'mean_word_length': 4.835820895522388, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '891988', 'n_tokens_mistral': 170, 'n_tokens_neox': 160, 'n_words': 28}