Exemple #1
0
 def testFindNemoCaseNemoIsme(self):
     self.assertEqual(findNemo('Nemo is me'), 'I found Nemo at 1 !')
Exemple #2
0
 def testFindNemoCaseIAmFindingNemo(self):
     self.assertEqual(findNemo('I am finding Nemo !'),
                      'I found Nemo at 4 !')
Exemple #3
0
 def testFindNemoCaseFailNemos(self):
     self.assertEqual(findNemo('I Nemos am'), "I can't find Nemo :(")
Exemple #4
0
 def testFindNemoCaseFailnemo(self):
     self.assertEqual(findNemo('I nemo am'), "I can't find Nemo :(")
Exemple #5
0
 def testFindNemoCaseINemoAm(self):
     self.assertEqual(findNemo('I Nemo am'), 'I found Nemo at 2 !')