Пример #1
0
 def testFriendly3(self):
     self.assertEqual(hw.friendly("How are you?"), "Good question!")
Пример #2
0
 def testFriendly4(self):
     self.assertEqual(hw.friendly("Huh?"), "Good question!")
Пример #3
0
 def testFriendly2(self):
     self.assertEqual(type(hw.friendly("How are you?")), type(""))
Пример #4
0
 def testFriendly1(self):
     self.assertEqual(type(hw.friendly("Hello")), type(""))
Пример #5
0
 def testFriendly3(self):
     self.assertEqual(hw.friendly("How are you?"), 'Good question!')
Пример #6
0
 def testFriendly2(self):
     self.assertEqual(type(hw.friendly("How are you?")), type(""))
Пример #7
0
 def testFriendly1(self):
     self.assertEqual(type(hw.friendly("Hello")), type(""))