public void TestZero() { var nums = new long[] { 34, 0 }; Assert.AreEqual(34, LongExtensions.BinaryEuclideanNOD(nums[0], nums[1])); }
public void TestMethod5() { var nums = new long[] { 34, 25 }; Assert.AreEqual(1, LongExtensions.BinaryEuclideanNOD(nums[0], nums[1])); }
public void TestTwoNums2() { var nums = new long[] { 34, 17 }; Assert.AreEqual(17, LongExtensions.BinaryEuclideanNOD(nums[0], nums[1])); }