public void ArgumentNullException_GCDSteinTest() { Assert.Throws <ArgumentNullException>(() => { GCDFinder.FindGCDwithStein(null); }); }
public void NotEnoughNumbers_GCDSteinTest(int[] numbers) { Assert.Throws <ArgumentException>(() => { GCDFinder.FindGCDwithStein(numbers); }); }
public void NegativeContainingSequences_GCDSteinTests(int[] numbers, int expectedResult) { Assert.AreEqual(expectedResult, GCDFinder.FindGCDwithStein(numbers)); }