Example #1
0
 def test_true_2(self):
     self.assertTrue(narcissistic(371))
Example #2
0
 def test_false_2(self):
     self.assertFalse(narcissistic(4887))
Example #3
0
 def test_true(self):
     self.assertTrue(narcissistic(7))
Example #4
0
 def test_false(self):
     self.assertFalse(narcissistic(122))