public void TestHandleOperatorEmptyStateOperatorMinus()
        {
            //arrange
            JsonRequest request = new JsonRequest {
                Input = "-"
            };

            //act
            JsonResponse response = request.HandleOperator(null);

            //assert
            response.Display.Should().Be("-");
            response.IsMinus.Should().Be(true);
            response.IsOperator.Should().Be(false);
        }
        public void TestHandleOperatorIsDoubleOperator()
        {
            //arrange
            JsonRequest request = new JsonRequest {
                Input = "+", calculatorState = new JsonResponse {
                    IsOperator = true, IsMinus = true, Display = "12", State = "100+12-"
                }
            };

            //act
            JsonResponse response = request.HandleOperator(null);

            //assert
            response.Display.Should().Be("");
            response.IsMinus.Should().Be(false);
            response.IsOperator.Should().Be(false);
        }