<commit_before># author: <NAME>

# locate Catch2 header for compiler
include_directories(catch)

# compile Catch2 unit tests in C++14
add_executable(tests
    main.cpp
    utilities.cpp
    test_calculations.cpp
    test_data_structures.cpp
    test_decoherence.cpp
    test_gates.cpp
    test_operators.cpp
    test_state_initialisations.cpp
    test_unitaries.cpp
)
set_property(TARGET tests PROPERTY CXX_STANDARD 14)

# link QuEST
if (WIN32)
    target_link_libraries(tests QuEST)
else ()
    target_link_libraries(tests QuEST m)
endif ()

if (${DISTRIBUTED})

    # distributed unit tests must supply an MPI-clue to (modified) catch
    add_definitions(-DDISTRIBUTED_MODE)
    
    # ensure C MPI <mpi.h> is resolved (is injected into catch.hpp)
    find_package(MPI REQUIRED)
    include_directories(${MPI_C_INCLUDE_PATH})
    target_link_libraries(tests ${MPI_C_LIBRARIES})
    
    # ensure C++ MPI is defined anyway, so the compiler is happy
    include_directories(${MPI_CXX_INCLUDE_PATH})
    target_link_libraries(tests ${MPI_CXX_LIBRARIES})
endif ()<commit_msg>removed C-MPI in unit tests<commit_after># author: <NAME>

# locate Catch2 header for compiler
include_directories(catch)

# compile Catch2 unit tests in C++14
add_executable(tests
    main.cpp
    utilities.cpp
    test_calculations.cpp
    test_data_structures.cpp
    test_decoherence.cpp
    test_gates.cpp
    test_operators.cpp
    test_state_initialisations.cpp
    test_unitaries.cpp
)
set_property(TARGET tests PROPERTY CXX_STANDARD 14)

# link QuEST
if (WIN32)
    target_link_libraries(tests QuEST)
else ()
    target_link_libraries(tests QuEST m)
endif ()

if (${DISTRIBUTED})
    # distributed unit tests must supply an MPI-clue to (modified) catch
    add_definitions(-DDISTRIBUTED_MODE)
    
    # compile and link C++ MPI
    find_package(MPI REQUIRED)
    include_directories(${MPI_CXX_INCLUDE_PATH})
    target_link_libraries(tests ${MPI_CXX_LIBRARIES})
endif ()
{'fraction_non_alphanumeric': 0.07731694828469023, 'fraction_numerical': 0.00819252432155658, 'mean_word_length': 4.309782608695652, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6499080', 'n_tokens_mistral': 700, 'n_tokens_neox': 661, 'n_words': 153}