Beispiel #1
0
 public void GetGCDByEuclideanAlgorithmTest_NullArgs_ArgumentNullException()
 => Assert.Throws <ArgumentNullException>(() => GCDFinder.GetGCDByEuclideanAlgorithm(out _, null));
Beispiel #2
0
 public void GetGCDByEuclideanAlgorithmTest_InvalidNumberOfParameters_ArgumentException(params int[] args)
 => Assert.Throws <ArgumentException>(() => GCDFinder.GetGCDByEuclideanAlgorithm(out _, args));
Beispiel #3
0
 public int GetGCDByEuclideanAlgorithmTest_Zeros(params int[] args)
 => GCDFinder.GetGCDByEuclideanAlgorithm(out _, args);
Beispiel #4
0
 public int GetGCDByEuclideanAlgorithmTest_NegativeNumbers(params int[] args)
 => GCDFinder.GetGCDByEuclideanAlgorithm(out _, args);
Beispiel #5
0
 public int GetGCDByEuclideanAlgorithmTest_PositiveNumbers(int[] args)
 => GCDFinder.GetGCDByEuclideanAlgorithm(out _, args);