<commit_before>
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/gtest/include")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/gtest/lib")

add_executable(ccollection_test test_main.cpp
    test_ccollection.cpp
    test_vector.cpp
)
target_link_libraries(ccollection_test ccollection gtest pthread)
add_test(ccollection_test ccollection_test)

<commit_msg>1. Update test cmake file<commit_after>
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/gtest/include")
link_directories("${CMAKE_CURRENT_SOURCE_DIR}/gtest/lib")

macro(compile_test name)
    add_executable(${name} test_main.cpp
        ${name}.cpp
        )
    target_link_libraries(${name} ccollection gtest pthread)
    add_test(${name} ${name})
endmacro()

compile_test(test_ccollection)
compile_test(test_vector)


{'fraction_non_alphanumeric': 0.10682110682110682, 'fraction_numerical': 0.001287001287001287, 'mean_word_length': 7.456521739130435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5406573', 'n_tokens_mistral': 276, 'n_tokens_neox': 268, 'n_words': 34}