Example #1
0
 public void ValueOutOfRange()
 {
     actualResult = UnitTest1.DivideIntegers(1200, 2000);
 }
Example #2
0
 public void CorrectCalculation()
 {
     expectedResult = 20;
     actualResult   = UnitTest1.DivideIntegers(100, 5);
     Assert.True(actualResult == expectedResult, $"Expected result is {expectedResult}");
 }
Example #3
0
 public void Divide()
 {
     expectedResult = 5;
     actualResult   = UnitTest1.DivideIntegers(120, 0);
     Assert.True(actualResult == expectedResult, $"Expected result is {expectedResult}");
 }