示例#1
0
 public void MaxSearch2()
 {
     Assert.AreEqual(1, YourTasksHere.MaxSearch(new int[] { -1, 1, 1, 0, -10, 1 }));
 }
示例#2
0
 public void MaxSearch3()
 {
     Assert.AreEqual(5, YourTasksHere.MaxSearch(new int[] { 1, 2, 3, 4, 5, 6 }));
 }
示例#3
0
 public void MaxSearch1()
 {
     Assert.AreEqual(0, YourTasksHere.MaxSearch(new int[] { -1 }));
 }