public void TestRecursiveAdd(int val1, int val2, int expected) { Assert.Equal(expected, RecursiveMath.RecursiveAdd(val1, val2)); }
public void TestRecursiveAdd() { Assert.Equal(5, RecursiveMath.RecursiveAdd(2, 3)); Assert.Equal(3, RecursiveMath.RecursiveAdd(0, 3)); Assert.Equal(-10, RecursiveMath.RecursiveAdd(-20, 10)); }