예제 #1
0
 public void GetGCDBySteinsAlgorithmTest_InvalidNumberOfParameters_ArgumentException(params int[] args)
 => Assert.Throws <ArgumentException>(() => GCDFinder.GetGCDBySteinsAlgorithm(out _, args));
예제 #2
0
 public int GetGCDBySteinsAlgorithmTest_Zeros(params int[] args)
 => GCDFinder.GetGCDBySteinsAlgorithm(out _, args);
예제 #3
0
 public int GetGCDBySteinsAlgorithmTest_NegativeNumbers(params int[] args)
 => GCDFinder.GetGCDBySteinsAlgorithm(out _, args);
예제 #4
0
 public void GetGCDBySteinsAlgorithmTest_NullArgs_ArgumentNullException()
 => Assert.Throws <ArgumentNullException>(() => GCDFinder.GetGCDBySteinsAlgorithm(out _, null));