public void EuclideanGcdGcd_WithNull() { Assert.Throws <ArgumentNullException>(() => { GcdAlgorythms.EuclideanGcd(null); }); }
public void EuclideanGcd_WithIncorrectCountOfElementsInArray(params int[] numbers) { Assert.Throws <ArgumentException>(() => { GcdAlgorythms.EuclideanGcd(numbers); }); }
public int EuclideanGcd_with_correct_data(params int[] numbers) { return(GcdAlgorythms.EuclideanGcd(numbers)); }