コード例 #1
0
 def test_equal_2(self):
     self.assertEqual(paul(["life", "Petes kata", "Petes kata", "Petes kata", "eating"]), "Super happy!")
コード例 #2
0
 def test_equal_1(self):
     self.assertEqual(paul(["life", "eating", "life"]), "Super happy!")
コード例 #3
0
 def test_equal_4(self):
     self.assertEqual(paul(["Petes kata"] * 7), "Sad!")
コード例 #4
0
 def test_equal_5(self):
     self.assertEqual(paul(["Petes kata"] * 10), "Miserable!")
コード例 #5
0
 def test_equal_3(self):
     self.assertEqual(paul(["Petes kata", "Petes kata", "eating", "Petes kata", "Petes kata", "eating"]), "Happy!")