<commit_before>import unittest
from timesyncsolver.solver import Teachers, Subjects, TimeSlots, Solver


class TestSolver(unittest.TestCase):
    def test_teachers(self):

        teachers = Teachers()
        teachers.add(['Bob', 'Jill', 'Tim', 'Ben'])
        self.assertEqual(len(teachers.store), 4)

        teachers.add('Shane')
        self.assertEqual(len(teachers.store), 5)
        self.assertEqual(teachers.store[4], 'Shane')

        self.assertRaises(TypeError, lambda: teachers.add(1))

    def test_subjects(self):
        subjects = Subjects()
        subjects.add(['Music', 'Art'])
        self.assertEqual(len(subjects.store), 2)

        subjects.add('Sport')
        self.assertEqual(len(subjects.store), 3)<commit_msg>test push<commit_after>import unittest
from timesyncsolver.solver import Teachers, Subjects, TimeSlots, Solver


class TestSolver(unittest.TestCase):
    def test_teachers(self):
        teachers = Teachers()
        teachers.add(['Bob', 'Jill', 'Tim', 'Ben'])
        self.assertEqual(len(teachers.store), 4)

        teachers.add('Shane')
        self.assertEqual(len(teachers.store), 5)
        self.assertEqual(teachers.store[4], 'Shane')

        self.assertRaises(TypeError, lambda: teachers.add(1))

    def test_subjects(self):
        subjects = Subjects()
        subjects.add(['Music', 'Art'])
        self.assertEqual(len(subjects.store), 2)

        subjects.add('Sport')
        self.assertEqual(len(subjects.store), 3)
{'fraction_non_alphanumeric': 0.14140040788579197, 'fraction_numerical': 0.008157715839564922, 'mean_word_length': 3.3167155425219943, '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': '7619465', 'n_tokens_mistral': 467, 'n_tokens_neox': 446, 'n_words': 80}