public void Get1sInNumber3() { var solver = new ProblemSolver(); var result = solver.Get1sInNumber(8, 74); Assert.That(result.ToArray(), Is.EqualTo(new int[] { 1, 4, 6 })); }
public void Get1sInNumber2() { var solver = new ProblemSolver(); var result = solver.Get1sInNumber(5, 13); Assert.That(result.ToArray(), Is.EqualTo(new int[] { 1, 2, 4 })); }