def test_reverse(): assert "321" == sn.reverse("123")
def test_polyndrome(): assert True == sn.is_polyndrome(121)
def test_polyndrome(self): self.assertEqual(True, sn.is_polyndrome(121))
def test_reverse(self): self.assertEqual("321", sn.reverse("123"))
def test_number_is_reversed(): assert "321" == sn.reverse("123")
def test_string_is_reversed(): assert "radar" == sn.reverse("radar")
def test_non_polyndrome(): assert False == sn.is_polyndrome(123)