Unit Tests

    For instance, the following sentence contains three words:

    Your task is to prove that the TextCorpus class calculates the number of words in the sentence correctly with three.

    The test in the module test_failing_code.py fails, because there is a bug in the function word_counter.average_word_length(). In the sentence

    The words are four, two, and seven characters long. This gives an average of:

    The test in the module test_broken_test.py fails, because there is a bug in the test file.

    Your task is to fix the test, so that the test passes. Use the example in test_broken_test.py.

    Your task is to make all tests in test_border_cases.py pass.