12
© 2003 John D. McGregor
Unit tests - structural
 Based on the structure of the code
 
 Public int largest(int a, int b, int c)
 {
  if (a > b){
  if(a > c){
  return a;
  }
  else{
  if(c > b){
  return c;
  }
  }
  else return 0;
 }