def test_valid_word_list(self): """make_frequency_map should return word:frequency pairs on valid input.""" for inp, out in MAP["VALID"]: self.assertEqual(out, make_frequency_map(inp))
def test_empty_word_list(self): """make_frequency_map should return empty dict on empty input.""" self.assertEqual({}, make_frequency_map([]))