def test_translate_14_abc(self): self.assertEqual(to_base(14, u"0123456789abcdéf"), u"é")
def test_translate_1_abc(self): self.assertEqual(to_base(1, "abc"), "b")
def test_translate_7_abc(self): self.assertEqual(to_base(7, "abc"), "cb")
def test_translate_2_abc(self): self.assertEqual(to_base(2, "abc"), "c")