<commit_before>project(tests C)

include_directories(${CGREEN_PUBLIC_INCLUDE_DIRS} ${CMAKE_BINARY_DIR})

set(test_SRCS
  all_tests.c
  assertion_tests.c
  breadcrumb_tests.c
  collector_tests.c
  constraint_tests.c
  cute_reporter_tests.c
  messaging_tests.c
  mocks_tests.c
  parameters_test.c
  slurp_test.c
  unit_tests.c
  vector_tests.c
)

set(TEST_TARGET_LIBRARIES ${CGREEN_SHARED_LIBRARY} m)

file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/some_file "Some stuff")
macro_add_unit_test(test_cgreen "${test_SRCS}" "${TEST_TARGET_LIBRARIES}")
<commit_msg>Create some_file in bin/ that the win32 tests pass.<commit_after>project(tests C)

include_directories(${CGREEN_PUBLIC_INCLUDE_DIRS} ${CMAKE_BINARY_DIR})

set(test_SRCS
  all_tests.c
  assertion_tests.c
  breadcrumb_tests.c
  collector_tests.c
  constraint_tests.c
  cute_reporter_tests.c
  messaging_tests.c
  mocks_tests.c
  parameters_test.c
  slurp_test.c
  unit_tests.c
  vector_tests.c
)

set(TEST_TARGET_LIBRARIES ${CGREEN_SHARED_LIBRARY} m)

file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/some_file "Some stuff")
if (WIN32)
  file(WRITE ${CMAKE_BINARY_DIR}/bin/tests/some_file "Some stuff")
  file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bin/tests)
endif (WIN32)
macro_add_unit_test(test_cgreen "${test_SRCS}" "${TEST_TARGET_LIBRARIES}")

{'fraction_non_alphanumeric': 0.0989867498051442, 'fraction_numerical': 0.004676539360872954, 'mean_word_length': 6.642857142857143, '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': '4852748', 'n_tokens_mistral': 539, 'n_tokens_neox': 522, 'n_words': 72}