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)
def test_371(): assert narcissistic(371) is True
def test_7(): assert narcissistic(7) is True
def test_4887(): assert narcissistic(4887) is False
def test_122(): assert narcissistic(122) is False