Пример #1
0
 public void Display1Test()
 {
     CalculatorHelper calculatorhelper = new CalculatorHelper();
     calculatorhelper.HandleButton1();
     Assert.AreEqual("1", calculatorhelper.DisplayText);
 }
Пример #2
-1
 public void HandleButton1Test()
 {
     CalculatorHelper calculatorhelper = new CalculatorHelper();
     calculatorhelper.HandleButton1();
     Assert.AreEqual(1, CalculatorHelper.Operand1);
 }