You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"resolves operator precedence unambiguously" test tries doing two consecutive calculations without resetting the calculator. Basically, it is testing whether:
2+3_((1 + 2) * 3)==1+(2_3)
A fix would to be to require a method that resets the calculator and use that between the tests, or create a new instance of RPNCalculator before the test.
"resolves operator precedence unambiguously" test tries doing two consecutive calculations without resetting the calculator. Basically, it is testing whether:
2+3_((1 + 2) * 3)==1+(2_3)
A fix would to be to require a method that resets the calculator and use that between the tests, or create a new instance of RPNCalculator before the test.
Relevant Code in rpn_calculator_spec.rb:
The text was updated successfully, but these errors were encountered: