public void GetMaxPrimeFactor_42_ExpectedValues() { var expected = 7; var actual = P003.GetMaxPrimeFactor(42); Assert.AreEqual(expected, actual); }
public void GetMaxPrimeFactor_600851475143_ExpectedValues() { var expected = 6857; var actual = P003.GetMaxPrimeFactor(600851475143); Assert.AreEqual(expected, actual); }