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