예제 #1
0
        public void CalculationProcessTestsSetUp()
        {
            creator = new PostfixCalculatorCreator(new BaseRecognizer(), WayToGetOperation.Internal);

            calculator = creator.CreateCalculator();
        }
 public PosfixCalculatorService(IRecognizer recognizer)
 {
     this.recognizer = recognizer;
     creator         = new PostfixCalculatorCreator(recognizer, WayToGetOperation.Internal);
     calculator      = creator.CreateCalculator();
 }