Lecture overview -- Keyboard shortcut: 'u'  Previous page: Example of Equivalence Partitioning (1) -- Keyboard shortcut: 'p'  Next page: Regression testing -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Test of Object-oriented Programs - slide 17 : 35

Example of Equivalence Partitioning (2)
  // Find the largest element in table in between the indexes from and to.
  // Return the index of this element.
  // Precondition: 0 <= from <= to <= table.Length-1
  public int FindMaxIndex<T>(T[] table, int from, int to)
    where T: IComparable<T> {
       ...
  }