public void GCD_NegativeNumsInput_ExceptionThrow(int n1, int n2) { Assert.Throws <ArgumentException>(() => BasicAlgoritms.GCDRecursion(n1, n2)); }
public void GCDRecursion_RightValuesTest(int n1, int n2, int expected) { int result = BasicAlgoritms.GCDRecursion(n1, n2); Assert.AreEqual(expected, result); }