<commit_before>
LINK_LIBRARIES(
	ruleengine
	atomspace
)

ADD_CXXTEST(RuleUTest)
ADD_CXXTEST(ForwardChainerUTest)

# Currently, BackwardChainer its up all possible RAM.
# Disabling un til this is fixed.
# ADD_CXXTEST(BackwardChainerUTest)
ADD_CXXTEST(URECommonsUTest)
ADD_CXXTEST(JsonicControlPolicyParamLoaderUTest)
ADD_CXXTEST(DefaultForwardChainerCBUTest)
ADD_CXXTEST(FCMemoryUTest)

CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/tests/rule-engine/test_cpolicy.json
               ${PROJECT_BINARY_DIR}/tests/rule-engine/test_cpolicy.json)<commit_msg>Re-enable BackwardChainerUTest<commit_after>
LINK_LIBRARIES(
	ruleengine
	atomspace
)

ADD_CXXTEST(RuleUTest)
ADD_CXXTEST(ForwardChainerUTest)

ADD_CXXTEST(BackwardChainerUTest)
ADD_CXXTEST(URECommonsUTest)
ADD_CXXTEST(JsonicControlPolicyParamLoaderUTest)
ADD_CXXTEST(DefaultForwardChainerCBUTest)
ADD_CXXTEST(FCMemoryUTest)

CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/tests/rule-engine/test_cpolicy.json
               ${PROJECT_BINARY_DIR}/tests/rule-engine/test_cpolicy.json)
{'fraction_non_alphanumeric': 0.07996051332675222, 'fraction_numerical': 0.0, 'mean_word_length': 8.476635514018692, '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': '4418938', 'n_tokens_mistral': 382, 'n_tokens_neox': 366, 'n_words': 39}