public void Test2() { int[] array = { 5, 5, 5, 5, 5 }; int[] result = { 0, 0, 0, 0, 5 }; InspectArray.Solve(array); Compare(result, array); }
public void Test3() { int[] array = { 2, 3, 4, 4, 3 }; int[] result = { 0, 1, 2, 2, 0 }; InspectArray.Solve(array); Compare(result, array); }
public void Test() { int[] array = { 1, 1, 3, 2 }; int[] result = { 2, 1, 1, 0 }; InspectArray.Solve(array); Compare(result, array); }