예제 #1
0
 def test_is_funny_tim(self):
     self.assertEqual(is_funny("tim"), False)
예제 #2
0
 def test_is_funny_anyone_else(self):
     """anyone else but tim should be funny"""
     self.assertTrue(is_funny("blue"), "blue should be funny")
     self.assertTrue(is_funny("tammy"), "tammy should be funny")
     self.assertTrue(is_funny("sven"), "sven should be funny")
예제 #3
0
 def test_is_funny_anyone_else(self):
     """ Anyone but Tim should be funny """
     self.assertTrue(is_funny("Blue"), "Blue should be funny")
     self.assertTrue(is_funny("Tammy"), "Tammy should be funny")
     self.assertTrue(is_funny("Sven"), "Sven should be funny")
예제 #4
0
 def test_is_funny_tim(self):
     self.assertEqual(is_funny("Tim"), False, "Tim should not be funny")
예제 #5
0
파일: test.py 프로젝트: Celedence/class
 def test_is_funny_anyone_else(self):
     """anyone else but time should be funny"""
     self.assertTrue(is_funny("blue"), "blue is funny"),
     self.assertTrue(is_funny("babes"), "babes is funny"),
     self.assertTrue(is_funny("annabelle"), "annabelle is funny")
예제 #6
0
파일: test.py 프로젝트: Celedence/class
 def test_is_funny_tim(self):
     """tim should not be funny"""
     self.assertEqual(is_funny("tim"), False)