public long Euclidean_Array_Test(params long[] array) { long time; long result = GCDAlgorithms.Euclidean(out time, array); Debug.WriteLine($"Total time: {time}"); return(result); }
public long Euclidean_TwoParameters_PositiveTest(long a, long b) { long time; long result = GCDAlgorithms.Euclidean(a, b, out time); Debug.WriteLine($"Total time: {time}"); return(result); }
public void Euclidean_Array_ArgumentNullException(long [] array) { long ticks; Assert.Throws <ArgumentNullException>(() => GCDAlgorithms.Euclidean(out ticks, array)); }
public long Euclidean_ArrayWithoutTime_Test(params long[] array) { long result = GCDAlgorithms.Euclidean(array); return(result); }
public long Euclidean_TwoParametersWithoutTime_PositiveTest(long a, long b) { long result = GCDAlgorithms.Euclidean(a, b); return(result); }