def testFriendly3(self):
     self.assertEqual(hw.friendly("How are you?"), "Good question!")
 def testFriendly4(self):
     self.assertEqual(hw.friendly("Huh?"), "Good question!")
 def testFriendly2(self):
     self.assertEqual(type(hw.friendly("How are you?")), type(""))
 def testFriendly1(self):
     self.assertEqual(type(hw.friendly("Hello")), type(""))
Exemple #5
0
 def testFriendly3(self):
     self.assertEqual(hw.friendly("How are you?"), 'Good question!')
Exemple #6
0
 def testFriendly2(self):
     self.assertEqual(type(hw.friendly("How are you?")), type(""))
Exemple #7
0
 def testFriendly1(self):
     self.assertEqual(type(hw.friendly("Hello")), type(""))