public void LargestNumberInSeries_InvalidLimit1() { var problem = new Problem1(); var result = problem.LargestNumberInSeries(10, 3); Assert.Fail(); }
public void LargestNumberInSeries_After3rdTermBefore4th() { var problem = new Problem1(); var result = problem.LargestNumberInSeries(5, 16); Assert.AreEqual(15, result); }
public void LargestNumberInSeries_InvalidMultiplier2() { var problem = new Problem1(); var result = problem.LargestNumberInSeries(-9, 3); Assert.Fail(); }
public void LargestNumberInSeries_2ndTerm() { var problem = new Problem1(); var result = problem.LargestNumberInSeries(5, 10); Assert.AreEqual(10, result); }