def test_lychrel_step_10110_is_100011(self): self.assertEqual(0b100011, lychrel.lychrel_step(0b10110, 2))
def test_lychrel_step_2F_is_121(self): self.assertEqual(0x121, lychrel.lychrel_step(0x2F, 16))
def test_lychrel_step_BF_is_1BA(self): self.assertEqual(0x1BA, lychrel.lychrel_step(0xBF, 16))
def test_lychrel_step_39_is_132(self): self.assertEqual(132, lychrel.lychrel_step(39, 10))
def test_lychrel_step_1A_is_BB(self): self.assertEqual(0xBB, lychrel.lychrel_step(0x1A, 16))
def test_lychrel_step_121_is_242(self): self.assertEqual(242, lychrel.lychrel_step(121, 10))
def test_lychrel_step_74_is_121(self): self.assertEqual(121, lychrel.lychrel_step(74, 10))
def test_lychrel_step_63_is_99(self): self.assertEqual(99, lychrel.lychrel_step(63, 10))