Example #1
0
 public void ThirdCase()
 {
     Assert.AreEqual(GreatestDistance.Exec(new List <int> {
         1, 2, 3, 4
     }), 0);
 }
Example #2
0
 public void FirstCase()
 {
     Assert.AreEqual(GreatestDistance.Exec(new List <int> {
         9, 7, 1, 2, 3, 7, 0, -1, -2
     }), 4);
 }
Example #3
0
 public void SecondCase()
 {
     Assert.AreEqual(GreatestDistance.Exec(new List <int> {
         0, 7, 0, 2, 3, 7, 0, -1, -2
     }), 6);
 }