public void Factor() { List <int> liFactors; liFactors = new List <int>(new int[] { 2, 5 }); Assert.IsTrue(liFactors.EachItemEqual(Atkin.Factors(10))); liFactors = new List <int>(new int[] { 5 }); Assert.IsTrue(liFactors.EachItemEqual(Atkin.Factors(5))); liFactors = new List <int>(new int[] { 71, 839, 1471, 6857 }); Assert.IsTrue(liFactors.EachItemEqual(Atkin.Factors(600851475143))); }