public void TestGetLowestAndHighestFactor() { int number = 909; LowestAndHighestFactor factors = PrimeHelper.GetLowestAndHighestFactor(number); LowestAndHighestFactor expectedFactors = new LowestAndHighestFactor(3, 303); Assert.AreEqual(expectedFactors.lowest, factors.lowest, $"The lowest factor of {number} was incorrect"); Assert.AreEqual(expectedFactors.highest, factors.highest, $"The highest factor of {number} was incorrect"); }