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