private void RunGetGCDTestTwoNumbersFor(int a, int b, int expected, string msg) { GCDCalc target = new GCDCalc(); long actual; actual = target.GetGCD(a, b); Assert.AreEqual(expected, actual, msg); }
private void RunGetGCDTestForListOfNumbersFor(long[] list, int expected, string msg) { GCDCalc target = new GCDCalc(); // TODO: Initialize to an appropriate value long actual; actual = target.GetGCD(list); Assert.AreEqual(expected, actual, msg); }