def test_7(self):
     self.assertEqual(narcissistic(7), True)
 def test_122(self):
     self.assertEqual(narcissistic(122), False)
 def test_4887(self):
     self.assertEqual(narcissistic(4887), False)
 def test_371(self):
     self.assertEqual(narcissistic(371), True)
示例#5
0
def test_371():
    assert narcissistic(371) is True
示例#6
0
def test_7():
    assert narcissistic(7) is True
示例#7
0
def test_4887():
    assert narcissistic(4887) is False
示例#8
0
def test_122():
    assert narcissistic(122) is False