示例#1
0
 public void HardArray3()
 {
     int[] array = new int[] { -1, 2, 5 };
     int[] outarray;
     Assert.AreEqual(5, YourTasksHere1.HardArray(array, out outarray));
     CollectionAssert.AreEqual(array, outarray);
     Assert.AreNotEqual(array, outarray);
 }
示例#2
0
 public void HardArray1()
 {
     int[] array = new int[] { 1, 2, 3, 8, -1, 0 };
     int[] outarray;
     Assert.AreEqual(8, YourTasksHere1.HardArray(array, out outarray));
     CollectionAssert.AreEqual(array, outarray);
     Assert.AreNotEqual(array, outarray);
 }