src/Testing/SectTest.cc
/* These function deal with indicies of Single Test tests. They allow one to 
   obtain the test Pix from either an interger or a string and they perform
   range checking to insure that the requested test exists in the section.   */
These function deal with indicies of Single Test tests. They allow one to
obtain the test Pix from either an interger or a string and they perform
range checking to insure that the requested test exists in the section.
These function deal with indicies of Single Test tests . They allow one to obtain the test Pix from either an interger or a string and they perform range checking to insure that the requested test exists in the section .
bool SectTest::CheckIndex(int k, int warn) const
  {
  if(k<0 || k>=(int)size())			
    {
    if(warn)
       {
       STerror(11, 1);				
       if(warn>1) STerror(16);			
       }
    return false;
    }
  return true; 
  }
bool SectTest :: CheckIndex ( int k , int warn ) const { if ( k < 0 || k >= ( int ) size ( ) ) { if ( warn ) { STerror ( 11 , 1 ) ; if ( warn > 1 ) STerror ( 16 ) ; } return false ; } return true ; }
These function deal with indicies of Single Test tests.
These function deal with indicies of Single Test tests .
// Insure test is in range // Accessed element out of range // Stopping section testing