src/Testing/SingleTest.cc
/*      Input                   ST      : A single test (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
        Output                  none    : Error message output
                                          Program execution stopped if fatal */
Input                   ST      : A single test (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input ST : A single test ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
void SingleTest::STerror(int eidx, int noret) const
  {
  string hdr("Single Test");
  string msg;
  switch (eidx)
    {
    case 11: msg = string("Quaternion Norm Deviates From 1");
             GAMMAerror(hdr,msg,noret); break;                          
    case 12: msg = string("Set {A,B,C,D} Forms an Invalid Quaternion");
             GAMMAerror(hdr,msg,noret); break;                          
    default: GAMMAerror(hdr,eidx,noret); break;
    }
  }
void SingleTest :: STerror ( int eidx , int noret ) const { string hdr ( " " ) ; string msg ; switch ( eidx ) { case 11 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 12 : msg = string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                   ST      : A single test (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input ST : A single test ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
//(11) //(12)