public void EuclidGCD_minus10_15() { int firstNumber = -10; int secondNumber = 15; int expected = 5; int actual = FindGCD.FindEuclidGCD(firstNumber, secondNumber); Assert.AreEqual(expected, actual); }
public void EuclidGCD_0_0() { int firstNumber = 0; int secondNumber = 0; int expected = 0; int actual = FindGCD.FindEuclidGCD(firstNumber, secondNumber); Assert.AreEqual(expected, actual); }
public void EuclidGCD_17_8() { int firstNumber = 17; int secondNumber = 8; int expected = 1; int actual = FindGCD.FindEuclidGCD(firstNumber, secondNumber); Assert.AreEqual(expected, actual); }
public void EuclidGCD_24_16() { int firstNumber = 24; int secondNumber = 16; int expected = 8; int actual = FindGCD.FindEuclidGCD(firstNumber, secondNumber); Assert.AreEqual(expected, actual); }
public void EuclidGCD_34_68() { int firstNumber = 34; int secondNumber = 68; int expected = 34; int actual = FindGCD.FindEuclidGCD(firstNumber, secondNumber); Assert.AreEqual(expected, actual); }