public void EuclidMethods_With_Valid_Data_BinaryAlgorithmOfEuclid(int rezalt, params int[] inputData) { Assert.AreEqual(AlgorithmsForTasks.EuclidBinary(inputData), rezalt); }
public void EuclidBinary_If_Input_Array_Null(int[] inputArray) { Assert.Throws <ArgumentOutOfRangeException>(() => AlgorithmsForTasks.EuclidBinary(inputArray)); }
public void EuclidBinary_With_Three_Params(int first, int second, int third, int rezalt) { Assert.AreEqual(AlgorithmsForTasks.EuclidBinary(first, second, third), rezalt); }
public void EuclidBinary_If_Input_Array_Length_Is_null(int[] inputArray) { Assert.Throws <ArgumentNullException>(() => AlgorithmsForTasks.EuclidBinary(inputArray)); }