def test_Bandb_return_value(self): self.assertEqual("second", switch_average('B')) self.assertEqual("second", switch_average('b'))
def test_Aanda_return_value(self): self.assertEqual("first", switch_average('A')) self.assertEqual("first", switch_average('a'))
def test_nonkey_input(self): self.assertEqual('Key input not found', switch_average('z'))
def test_Eande_return_value(self): self.assertEqual("fifth", switch_average('E')) self.assertEqual("fifth", switch_average('e'))
def test_Dandd_return_value(self): self.assertEqual("fourth", switch_average('D')) self.assertEqual("fourth", switch_average('d'))
def test_Candc_return_value(self): self.assertEqual("third", switch_average('C')) self.assertEqual("third", switch_average('c'))