def test_lychrel_num_1000_is_1(self): self.assertEqual(1, lychrel.lychrel_num(0b100, 2))
def test_lychrel_num_1F_is_2(self): self.assertEqual(2, lychrel.lychrel_num(0x1F, 16))
def test_lychrel_num_BF_is_2(self): self.assertEqual(8, lychrel.lychrel_num(0xBF, 16))
def test_lychrel_num_39_is_2(self): self.assertEqual(2, lychrel.lychrel_num(39, 10))
def test_lychrel_num_193_is_8(self): self.assertEqual(8, lychrel.lychrel_num(193, 10))
def test_lychrel_num_12_is_1(self): self.assertEqual(1, lychrel.lychrel_num(12, 10))
def test_lychrel_num_11_is_0(self): self.assertEqual(0, lychrel.lychrel_num(11, 10))
def test_lychrel_num_1011_is_2(self): self.assertEqual(2, lychrel.lychrel_num(0b1011, 2))
def test_lychrel_num_10100_is_2(self): self.assertEqual(5, lychrel.lychrel_num(0b10100, 2))