public void IsPrimeFactorTest() { Assert.AreEqual(true, Problem3.IsPrimeFactor(3, new List <double> { 2 })); Assert.AreEqual(true, Problem3.IsPrimeFactor(5, new List <double> { 2, 3 })); Assert.AreEqual(false, Problem3.IsPrimeFactor(15, new List <double> { 2, 3, 5, 7, 11, 13 })); Assert.AreEqual(false, Problem3.IsPrimeFactor(16, new List <double> { 2, 3, 5, 7, 11, 13 })); }