Lecture overview -- Keyboard shortcut: 'u'  Previous page: Input to a Black Box Test -- Keyboard shortcut: 'p'  Next page: Example of Equivalence Partitioning (2) -- 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 16 : 35

Example of Equivalence Partitioning (1)
  // Exchange element i and j in table
  public void SwapElements<T>(T[] table, int i, int j){
    ...
  }   
Use of a stronger precondition limits the number of test cases