Beispiel #1
0
 public void GCDExceptionTest(GCDCalculation.AlgOption option, params int[] integers)
 {
     Assert.That(() => GCDCalculation.GetGCD(option, integers), Throws.TypeOf <ArgumentException>());
 }
Beispiel #2
0
 public int TestGCDCalculation(GCDCalculation.AlgOption option, params int[] integers)
 {
     return(GCDCalculation.GetGCD(option, integers));
 }