Пример #1
0
 public int GCDEuclideanAlgorithm_FindGCD_ReturnsCorrectGCD(int[] number)
 {
     return(FindGCD.GCDUseEuclideanAlgorithm(number));
 }
Пример #2
0
 public void GCDUseSteinaAlgorithm_FindGCD_ReturnsArgumentException(int[] number)
 {
     Assert.Throws <ArgumentException>(() => FindGCD.GCDUseEuclideanAlgorithm(number));
 }
Пример #3
0
 public int GCDEuclideanAlgorithm_FindGCD_ReturnsCorrectGCD(int x, int y)
 {
     return(FindGCD.GCDUseEuclideanAlgorithm(x, y));
 }