Пример #1
0
 public int MinIndex_ReferenceType(Orderable A0, Orderable A1, Orderable A2)
 => WeakOrdering.MinIndex(A0, A1, A2);
Пример #2
0
 public void MinIndex_Empty_ReturnsMinusOne()
 {
     Assert.That(WeakOrdering.MinIndex(new int[0]), Is.EqualTo(-1));
 }
Пример #3
0
 public int MinIndex_ValueType(int A0, int A1, int A2)
 => WeakOrdering.MinIndex(A0, A1, A2);
Пример #4
0
 public void MinIndex_Null_ThrowsArgumentNullException()
 {
     Assert.Throws <ArgumentNullException>(
         () => WeakOrdering.MinIndex((int[])null)
         );
 }