def test_Texts(self): for i in self.TESTS['3. Texts.']: assert checkio(i['input']) == i['answer'], i['input']
def test_Edges(self): for i in self.TESTS['4. Edges']: assert checkio(i['input']) == i['answer'], i['input']
def test_Basics(self): for i in self.TESTS['2. Basics']: assert checkio(i['input']) == i['answer'], i['input']
def test_Examples(self): for i in self.TESTS['1. Examples']: assert checkio(i['input']) == i['answer'], i['input']
def test_checkio_with_howdoyoudo_returns_o(self): result = most_wanted_letter.checkio(u"How do you do?") self.assertEquals("o", result)
def test_checkio_with_helloworld_returns_l(self): result = most_wanted_letter.checkio(u"Hello World!") self.assertEquals("l", result)
def test_checkio_with_upper_case_letter_then_use_their_lower_equivalent(self): result = most_wanted_letter.checkio(u"Oops!") self.assertEquals("o", result)