示例#1
0
 public void EuclideanGcdGcd_WithNull()
 {
     Assert.Throws <ArgumentNullException>(() => { GcdAlgorythms.EuclideanGcd(null); });
 }
示例#2
0
 public void EuclideanGcd_WithIncorrectCountOfElementsInArray(params int[] numbers)
 {
     Assert.Throws <ArgumentException>(() => { GcdAlgorythms.EuclideanGcd(numbers); });
 }
示例#3
0
 public int EuclideanGcd_with_correct_data(params int[] numbers)
 {
     return(GcdAlgorythms.EuclideanGcd(numbers));
 }