Example #1
0
 def test1(self):
     self.assertEqual(isHappy(1), True)
Example #2
0
 def test2(self):
     self.assertEqual(isHappy(2), False)
Example #3
0
 def test8(self):
     self.assertEqual(isHappy(8), False)
Example #4
0
 def test9(self):
     self.assertEqual(isHappy(9), False)
Example #5
0
 def test7(self):
     self.assertEqual(isHappy(7), True)
Example #6
0
 def test6(self):
     self.assertEqual(isHappy(6), False)
Example #7
0
 def test5(self):
     self.assertEqual(isHappy(5), False)
Example #8
0
 def test4(self):
     self.assertEqual(isHappy(4), False)
Example #9
0
 def test3(self):
     self.assertEqual(isHappy(3), False)