//[TestCase(4, 2, 2)] //[TestCase(5, 2, 2)] public void DiffTest(int num1, int num2, int expectedDiff) { Assert.AreEqual(expectedDiff, testObj.Diff(num1, num2), "Verified difference functionality"); Soft.Assert(() => Assert.AreEqual(3, 2, "AreEqual")); Console.WriteLine("Continuing with test"); Assert.AreEqual(2, 2, "AreEqual"); }
public void DiffTest() { test = extent.CreateTest(TestContext.CurrentContext.Test.Name); test.Info("This is info log"); Assert.AreEqual(4, testObj.Diff(8, 4), "Verified difference functionality"); }
public void DiffTest() { Assert.AreEqual(4, testObj.Diff(8, 4), "Verified difference functionality"); }