public void TestMultiply()
 {
     Calculator obj = new Calculator();
     int result = obj.Add(3, 5);
     Assert.Fail("Multiplication has failed");
 }
 public void IgnoreTest()
 {
     Calculator obj = new Calculator();
     decimal result = obj.Divide(5, 0);
 }
 public void TestAdd()
 {
     Calculator obj = new Calculator();
     int result = obj.Add(3, 5);
     Assert.AreEqual(8, result);
 }
 public void DivideByZeroExceptionTest()
 {
     Calculator obj = new Calculator();
     //decimal result = obj.Divide(5, 0);
     Assert.Throws<DivideByZeroException>(() => obj.Divide(2,2),"Trying to divide by zero...haha");
 }