public void SteinGCD_minus10_minus14_minus20() { int firstNumber = -10; int secondNumber = -14; int thirdNumber = -20; int expected = 2; int actual = FindGCD.FindSteinGCD(firstNumber, secondNumber, thirdNumber); Assert.AreEqual(expected, actual); }
public void SteinGCD_minus12_18_36() { int firstNumber = -12; int secondNumber = 18; int thirdNumber = 36; int expected = 6; int actual = FindGCD.FindSteinGCD(firstNumber, secondNumber, thirdNumber); Assert.AreEqual(expected, actual); }
public void SteinGCD_0_0_0() { int firstNumber = 0; int secondNumber = 0; int thirdNumber = 0; int expected = 0; int actual = FindGCD.FindSteinGCD(firstNumber, secondNumber, thirdNumber); Assert.AreEqual(expected, actual); }
public void SteinGCD_8_12_28_32() { int firstNumber = 8; int secondNumber = 12; int thirdNumber = 28; int forthNumber = 32; int expected = 4; int actual = FindGCD.FindSteinGCD(firstNumber, secondNumber, thirdNumber, forthNumber); Assert.AreEqual(expected, actual); }