Ejemplo n.º 1
0
 public void TestReplaceNegativeWithZero()
 {
     int[] arr = new int[] { 0, 1, -2, 3, -4, 5 };
     Part2.ReplaceNegativeWithZero(arr);
     CollectionAssert.AreEqual(new int[] { 0, 1, 0, 3, 0, 5 }, arr);
 }