Skip to content
Snippets Groups Projects
Commit 8581ef8d authored by DOAN Lancelot's avatar DOAN Lancelot
Browse files

tests

parent eaf90b1a
No related branches found
No related tags found
No related merge requests found
Pipeline #10593 passed
...@@ -76,6 +76,7 @@ public class CalcEngine ...@@ -76,6 +76,7 @@ public class CalcEngine
displayValue = leftOperand - displayValue; displayValue = leftOperand - displayValue;
} }
leftOperand = 0; leftOperand = 0;
previousOperator = ' ';
} }
/** /**
...@@ -84,6 +85,7 @@ public class CalcEngine ...@@ -84,6 +85,7 @@ public class CalcEngine
public void clear() public void clear()
{ {
displayValue = 0; displayValue = 0;
previousOperator = ' ';
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment