Beispiel #1
0
         public void TestSub()
         {
             //Arrange
             var calc = new Calc();

             //Act
             var result = calc.DoSub(5, 3);

             //Assert
             Assert.AreEqual(result, 2);
         }
Beispiel #2
0
         public void TestAdd()
         {
             //Arrange
             var calc = new Calc();

             //Act
             var result = calc.DoAdd(2, 3);

             //Assert
             Assert.AreEqual(result,5);
         }