<commit_before>catkin_add_gtest( fsinfo_test fsinfo_test.cc )
catkin_add_gtest( observer_test observer_test.cc )
catkin_add_gtest( timer_test timer_test.cc )
catkin_add_gtest( image_node_test image_node_test.cc )
target_link_libraries( image_node_test ${catkin_LIBRARIES} )
catkin_add_gtest( runnable_test runnable_test.cc )
catkin_add_gtest( stats_test stats_test.cc )
catkin_add_gtest( numbers_test numbers_test.cc )
catkin_add_gtest( trigo_test trigo_test.cc )
catkin_add_gtest( histogram_test histogram_test.cc )

if(UNIX)
    catkin_add_gtest(serial_test serial_test.cc)
    target_link_libraries(serial_test ${Boost_LIBRARIES})
    if(NOT APPLE)
        target_link_libraries(serial_test util)
    endif()
endif()<commit_msg>Adding unit test for string format in CMake<commit_after>catkin_add_gtest( fsinfo_test fsinfo_test.cc )
catkin_add_gtest( observer_test observer_test.cc )
catkin_add_gtest( timer_test timer_test.cc )
catkin_add_gtest( image_node_test image_node_test.cc )
target_link_libraries( image_node_test ${catkin_LIBRARIES} )
catkin_add_gtest( runnable_test runnable_test.cc )
catkin_add_gtest( stats_test stats_test.cc )
catkin_add_gtest( numbers_test numbers_test.cc )
catkin_add_gtest( trigo_test trigo_test.cc )
catkin_add_gtest( histogram_test histogram_test.cc )
catkin_add_gtest( formatter_test formatter_test.cc )

if(UNIX)
    catkin_add_gtest(serial_test serial_test.cc)
    target_link_libraries(serial_test ${Boost_LIBRARIES})
    if(NOT APPLE)
        target_link_libraries(serial_test util)
    endif()
endif()
{'fraction_non_alphanumeric': 0.07055016181229773, 'fraction_numerical': 0.0, 'mean_word_length': 7.448087431693989, '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': '5353851', 'n_tokens_mistral': 598, 'n_tokens_neox': 584, 'n_words': 91}