Created
July 15, 2020 11:22
-
-
Save maniish-jaiin/d7e43ef121eb6e9e813834e021388d43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void addNumbersWhenPlusOperatorIsFound() { | |
ReversePolishNotation rpn = new ReversePolishNotation(); | |
double result = rpn.evaluate("5 5 +"); | |
assertEquals(10.0, result, 0.1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment