public void FindCGDForShortArraySuccess() { int[] array = { 5 }; int cgd = 5; Assert.AreEqual(cgd, NumberTheory.FindCGDForArrayElements(array)); }
public void FindCGDForNullArray() { int cgd = 1; Assert.AreEqual(cgd, NumberTheory.FindCGDForArrayElements(null)); }