Пример #1
0
 public void AddTest()
 {
     //Test
     int i = 0;
     i = i + 5;
     var expect = 5;
     var target = new Calculator();
     var actual = target.Add(2, 3);
     Assert.AreEqual(expect, actual);
 }
 public void WhenIPressAdd()
 {
     var target = new Calculator();
     actual = target.Add(numbers[0], numbers[1]);
 }