Beispiel #1
0
 public static void Dominator()
 {
     Assert.That(ArrayQ.Dominator(new int[] {1, 2, 1, 3, 1 }) == 4 );
     Assert.That(ArrayQ.Dominator(new int[] { 1, 2, 3, 4, 1 }) == -1);
 }