public void testToString(){
  LinkedBlockingDeque q=populatedDeque(SIZE);
  String s=q.toString();
  for (int i=0; i < SIZE; ++i) {
    assertTrue(s.indexOf(String.valueOf(i)) >= 0);
  }
}

public void testToString ( ) { LinkedBlockingDeque q = populatedDeque ( SIZE ) ; String s = q . toString ( ) ; for ( int i = 0 ; i < SIZE ; ++ i ) { assertTrue ( s . indexOf ( String . valueOf ( i ) ) >= 0 ) ; } }
tostring contains tostrings of elements
