<commit_before># -*- coding: utf-8 -*-
#########################
#       UNITESTS        #
#########################


#########################
# IMPORTS               #
#########################
import doctest




#########################
# FUNCTIONS             #
#########################
if __name__ == '__main__':
    #print('TESTS OF DNA COMPILER…')
    #doctest.testfile('evolacc/dnacompiler/dnacompiler.py')

    print('TESTS OF UNIT FACTORY…')
    doctest.testfile('evolacc/factory/unitfactory.py')

    print('TESTS OF PLACING…')
    doctest.testfile('evolacc/placing/placing.py')



    print('END OF UNIT TESTS')


<commit_msg>one day, we will do more unit tests<commit_after># -*- coding: utf-8 -*-
#########################
#       UNITESTS        #
#########################


#########################
# IMPORTS               #
#########################
import doctest




#########################
# FUNCTIONS             #
#########################
if __name__ == '__main__':
    #print('TESTS OF DNA COMPILER…')
    #doctest.testfile('evolacc/dnacompiler/dnacompiler.py')

    print('TESTS OF CONFIG…')
    doctest.testfile('evolacc/config/config.py')

    print('TESTS OF UNIT FACTORY…')
    doctest.testfile('evolacc/factory/unitfactory.py')

    print('TESTS OF PLACING…')
    doctest.testfile('evolacc/placing/placing.py')



    print('END OF UNIT TESTS')



{'fraction_non_alphanumeric': 0.32514450867052025, 'fraction_numerical': 0.001445086705202312, 'mean_word_length': 3.511400651465798, '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': '3457952', 'n_tokens_mistral': 473, 'n_tokens_neox': 431, 'n_words': 69}