def test_to_digit_with_dot(self): self.assertEqual(compat.to_digit("64."), 64)
def test_to_digit_with_plus_sign(self): self.assertEqual(compat.to_digit("64+"), 64)
def test_to_digit(self): self.assertEqual(compat.to_digit("64"), 64)