public void Test1000() { int a = 1; int b = 1000; int count = Prob17.GetLetterCount(a, b); string resultTxt = $"Lettercount for {a} thru {b} is: {count}"; Utilities.TestUtils.WriteOut(resultTxt); Assert.AreEqual(21124, count); //this is correct }
public void Test167() { int a = 1; int b = 167; int count = Prob17.GetLetterCount(a, b); string resultTxt = $"Lettercount for {a} thru {b} is: {count}"; Utilities.TestUtils.WriteOut(resultTxt); Assert.AreEqual(2272, count); }