def test_translate_c_abc(self): self.assertEqual(to_decimal("c", "abc"), 2)
def test_translate_cc_abc(self): #c * 3 + c #2 * 3 + 2 self.assertEqual(to_decimal("cc", "abc"), 8)
def test_translate_b_abc(self): self.assertEqual(to_decimal("b", "abc"), 1)