public void PlusOneTest_1() { var test = new P0066_PlusOne(); var input = new int[] { 1, 2, 3 }; var output = test.PlusOne(input); Assert.AreEqual(new[] { 1, 2, 4 }, output); }
public void PlusOneTest_4() { var test = new P0066_PlusOne(); var input = new int[] { 9, 9, 9 }; var output = test.PlusOne(input); Assert.AreEqual(new[] { 1, 0, 0, 0 }, output); }