def test_addition_subtract_two_numbers(): expr = '45785.0992-598.598' parser = ExpressionParser(expr) assert parser.addition() == 45785.0992 - 598.598
def test_addition_add_two_numbers(): expr = '1923.1023+12312.13' parser = ExpressionParser(expr) assert parser.addition() == 1923.1023 + 12312.13