<commit_before>import unittest

import two_fer


class Two_Fer_test(unittest.TestCase):
    def test_empty(self):
        self.assertEqual(two_fer.two_fer(), 'One for you, one for me.')

    def test_eve(self):
        self.assertEqual(two_fer.two_fer("Eve"), "One for Eve, one for me.")

    def test_bob(self):
        self.assertEqual(two_fer.two_fer("Bob"), "One for Bob, one for me.")


if __name__ == '__main__':
    unittest.main()<commit_msg>two-fer: Update test suite to match canonical-data.json and resolve #1010<commit_after>import unittest

import two_fer

# Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0


class Two_Fer_test(unittest.TestCase):
    def test_empty(self):
        self.assertEqual(two_fer.two_fer(), 'One for you, one for me.')

    def test_alice(self):
        self.assertEqual(two_fer.two_fer("Alice"),
                         "One for Alice, one for me.")

    def test_bob(self):
        self.assertEqual(two_fer.two_fer("Bob"), "One for Bob, one for me.")


if __name__ == '__main__':
    unittest.main()
{'fraction_non_alphanumeric': 0.12921348314606743, 'fraction_numerical': 0.006554307116104869, 'mean_word_length': 3.39917695473251, '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': '3931422', 'n_tokens_mistral': 370, 'n_tokens_neox': 350, 'n_words': 87}