def test_sqrt_of_one_number(self): expr = '9 SQRT' self.assertEqual(rpn_calculate(expr), 3)
def test_when_only_one_number_is_passed_then_return_the_same_digit(self): expr = '45' self.assertEqual(rpn_calculate(expr), 45)
def test_sqrt_of_one_number(self): expr = '9 SQRT' self.assertEqual(rpn_calculate(expr), 3)
def test_when_only_one_number_is_passed_then_return_the_same_digit(self): expr = '45' self.assertEqual(rpn_calculate(expr), 45)