public void FindGCDByStain_PasstwoCorrectNumbers_ReturnedAbsNumberAndCountTicksMoreZero(int firstNumber, int secondNumber, int expectedResult)
        {
            // Arrange
            long timeTicks = 0;
            int  result    = 0;

            // Act
            result = GCD.FindGCDByStain(firstNumber, secondNumber, out timeTicks);

            // Assert
            Assert.AreEqual(expectedResult, result);
            Assert.IsTrue(timeTicks > 0);
        }
 public int FindGCDByStain_PasstwoCorrectNumbers_ReturnedGCD(int firstNumber, int secondNumber)
 => GCD.FindGCDByStain(firstNumber, secondNumber);
 public int FindGCDByStain_PassNumberAndZero_ReturnedAbsNumber(int firstNumber, int secondNumber)
 => GCD.FindGCDByStain(firstNumber, secondNumber);
 public void FindGCDByStain_PassOneNumber_ThrownArgumentException(params int[] numbers)
 => Assert.Throws <ArgumentException>(() => GCD.FindGCDByStain(numbers));
 public void FindGCDByStain_PassNullValue_ThrownArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(() => GCD.FindGCDByStain(null));
 }
 public int FindGCDByStain_PassCorrectNegativeNumbers_ReturnedGCD(params int[] numbers)
 => GCD.FindGCDByStain(numbers);
 public int FindGCDByStain_PassCorrectRepeatingNumbers_ReturnedGCD(params int[] numbers)
 => GCD.FindGCDByStain(numbers);
 public int FindGCDByStain_PassThreeCorrectNonRepeatingNumbers_ReturnedGCD(int firstNumber, int secondNumber, int thirdNumber)
 => GCD.FindGCDByStain(firstNumber, secondNumber, thirdNumber);