public Calculator()
 {
     InitializeComponent();
     calc         = new Logic.Calculator();
     Lhs_lbl.Text = "";
     Op_lbl.Text  = "";
     Rhs_lbl.Text = "";
     Ans_lbl.Text = "";
 }
 public Calculator()
 {
     InitializeComponent();
     calculator = new Logic.Calculator();
 }
Beispiel #3
0
        public void CalculateDoubleFailTest()
        {
            ICalculator calculator = new Calculator();

            Assert.Throws <CalculateException>(() => calculator.Counting("1 1.12 +"));
        }