def test_is_digit_true_minus_few(self): self.assertEqual(calculator.is_digit('-0.05'), True)
def test_is_digit_true_zero_double(self): self.assertEqual(calculator.is_digit('00.05'), True)
def test_is_digit_false(self): self.assertEqual(calculator.is_digit('a'), False)
def test_is_digit_true_minus_kana(self): self.assertEqual(calculator.is_digit(str('ー1')), True)
def test_is_digit_true_few(self): self.assertEqual(calculator.is_digit(str(0.1)), True)
def test_is_digit_true_minus(self): self.assertEqual(calculator.is_digit(str(-1)), True)