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