IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 2:43:46 PM (21 years ago)
Author:
drobbin
Message:

made requested revisions to psPolynomials per apidelta-report-cycle6

Location:
trunk/psLib/test/dataManip
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psFunc00.c

    r3682 r4422  
    1414*    orders are created.
    1515*
    16 *    @version $Revision: 1.21 $  $Name: not supported by cvs2svn $
    17 *    @date $Date: 2005-04-07 20:27:41 $
     16*    @version $Revision: 1.22 $  $Name: not supported by cvs2svn $
     17*    @date $Date: 2005-06-29 00:43:46 $
    1818*
    1919*  Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    466466    }
    467467    // Verify polynomial structure members set properly
    468     if(my4DPoly->nX != ORDER) {
    469         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    470                 my4DPoly->nX, ORDER);
    471         return 2;
    472     }
    473     // Verify polynomial structure members set properly
    474     if(my4DPoly->nY != ORDER+1) {
    475         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    476                 my4DPoly->nY, ORDER+1);
    477         return 3;
    478     }
    479     // Verify polynomial structure members set properly
    480     if(my4DPoly->nZ != ORDER+2) {
    481         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    482                 my4DPoly->nZ, ORDER+2);
     468    if(my4DPoly->nY != ORDER) {
     469        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     470                my4DPoly->nY, ORDER);
     471        return 2;
     472    }
     473    // Verify polynomial structure members set properly
     474    if(my4DPoly->nZ != ORDER+1) {
     475        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     476                my4DPoly->nZ, ORDER+1);
     477        return 3;
     478    }
     479    // Verify polynomial structure members set properly
     480    if(my4DPoly->nT != ORDER+2) {
     481        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     482                my4DPoly->nT, ORDER+2);
    483483        return 4;
    484484    }
    485485    // Verify polynomial structure members set properly
    486     if(my4DPoly->nW != ORDER+3) {
    487         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    488                 my4DPoly->nW, ORDER+3);
     486    if(my4DPoly->nX != ORDER+3) {
     487        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     488                my4DPoly->nX, ORDER+3);
    489489        return 5;
    490490    }
     
    560560    }
    561561    // Verify polynomial structure members set properly
    562     if(my4DDPoly->nX != ORDER) {
    563         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    564                 my4DDPoly->nX, ORDER);
    565         return 2;
    566     }
    567     // Verify polynomial structure members set properly
    568     if(my4DDPoly->nY != ORDER+1) {
    569         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    570                 my4DDPoly->nY, ORDER+1);
    571         return 3;
    572     }
    573     // Verify polynomial structure members set properly
    574     if(my4DDPoly->nZ != ORDER+2) {
    575         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    576                 my4DDPoly->nZ, ORDER+2);
     562    if(my4DDPoly->nY != ORDER) {
     563        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     564                my4DDPoly->nY, ORDER);
     565        return 2;
     566    }
     567    // Verify polynomial structure members set properly
     568    if(my4DDPoly->nZ != ORDER+1) {
     569        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     570                my4DDPoly->nZ, ORDER+1);
     571        return 3;
     572    }
     573    // Verify polynomial structure members set properly
     574    if(my4DDPoly->nT != ORDER+2) {
     575        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     576                my4DDPoly->nT, ORDER+2);
    577577        return 4;
    578578    }
    579579    // Verify polynomial structure members set properly
    580     if(my4DDPoly->nW != ORDER+3) {
    581         psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
    582                 my4DDPoly->nW, ORDER+3);
     580    if(my4DDPoly->nX != ORDER+3) {
     581        psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d",
     582                my4DDPoly->nX, ORDER+3);
    583583        return 5;
    584584    }
  • trunk/psLib/test/dataManip/verified/tst_psFunc00.stderr

    r3769 r4422  
    5959    Following should generate error msg for negative terms
    6060<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    61     Error: nW is 0 or less.
    62 <DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
    63     Following should generate error msg for negative terms
    64 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    6561    Error: nX is 0 or less.
    6662<DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
     
    7268<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
    7369    Error: nZ is 0 or less.
     70<DATE><TIME>|<HOST>|I|testPolynomial4DAlloc
     71    Following should generate error msg for negative terms
     72<DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)
     73    Error: nT is 0 or less.
    7474
    7575---> TESTPOINT PASSED (psPolynomialXD{psPolynomial4DAlloc} | tst_psFunc00.c)
     
    135135    Following should generate error msg for negative terms
    136136<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    137     Error: nW is 0 or less.
    138 <DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
    139     Following should generate error msg for negative terms
    140 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    141137    Error: nX is 0 or less.
    142138<DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
     
    148144<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
    149145    Error: nZ is 0 or less.
     146<DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc
     147    Following should generate error msg for negative terms
     148<DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)
     149    Error: nT is 0 or less.
    150150
    151151---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial4DAlloc} | tst_psFunc00.c)
  • trunk/psLib/test/dataManip/verified/tst_psFunc08.stderr

    r4405 r4422  
    5555    Following should generate an error message for NULL polynomial
    5656<DATE><TIME>|<HOST>|E|psDPolynomial1DEvalVector (FILE:LINENO)
    57     Unallowable operation: polynomial myPoly or its coeffs is NULL.
     57    Unallowable operation: polynomial poly or its coeffs is NULL.
    5858<DATE><TIME>|<HOST>|I|testDPoly1DEvalVector
    5959    Following should generate an error message for NULL input vector
  • trunk/psLib/test/dataManip/verified/tst_psFunc09.stderr

    r4405 r4422  
    6363    Following should generate an error message for NULL polynomial
    6464<DATE><TIME>|<HOST>|E|psDPolynomial2DEvalVector (FILE:LINENO)
    65     Unallowable operation: polynomial myPoly or its coeffs is NULL.
     65    Unallowable operation: polynomial poly or its coeffs is NULL.
    6666<DATE><TIME>|<HOST>|I|testDPoly2DEvalVector
    6767    Following should generate an error message for NULL input vector
  • trunk/psLib/test/dataManip/verified/tst_psFunc10.stderr

    r4405 r4422  
    7171    Following should generate an error message for NULL polynomial
    7272<DATE><TIME>|<HOST>|E|psDPolynomial3DEvalVector (FILE:LINENO)
    73     Unallowable operation: polynomial myPoly or its coeffs is NULL.
     73    Unallowable operation: polynomial poly or its coeffs is NULL.
    7474<DATE><TIME>|<HOST>|I|testDPoly3DEvalVector
    7575    Following should generate an error message for NULL input vector
  • trunk/psLib/test/dataManip/verified/tst_psFunc11.stderr

    r4405 r4422  
    7979    Following should generate an error message for NULL polynomial
    8080<DATE><TIME>|<HOST>|E|psDPolynomial4DEvalVector (FILE:LINENO)
    81     Unallowable operation: polynomial myPoly or its coeffs is NULL.
    82 <DATE><TIME>|<HOST>|I|testDPoly4DEvalVector
    83     Following should generate an error message for NULL input vector
    84 <DATE><TIME>|<HOST>|E|psDPolynomial4DEvalVector (FILE:LINENO)
    85     Unallowable operation: psVector w or its data is NULL.
     81    Unallowable operation: polynomial poly or its coeffs is NULL.
    8682<DATE><TIME>|<HOST>|I|testDPoly4DEvalVector
    8783    Following should generate an error message for NULL input vector
     
    9793    Unallowable operation: psVector z or its data is NULL.
    9894<DATE><TIME>|<HOST>|I|testDPoly4DEvalVector
    99     Following should generate an error message for invalid input type
     95    Following should generate an error message for NULL input vector
    10096<DATE><TIME>|<HOST>|E|psDPolynomial4DEvalVector (FILE:LINENO)
    101     Unallowable operation: psVector x has incorrect type.
     97    Unallowable operation: psVector t or its data is NULL.
    10298<DATE><TIME>|<HOST>|I|testDPoly4DEvalVector
    10399    Following should generate an error message for invalid input type
     
    111107    Following should generate an error message for invalid input type
    112108<DATE><TIME>|<HOST>|E|psDPolynomial4DEvalVector (FILE:LINENO)
    113     Unallowable operation: psVector w has incorrect type.
     109    Unallowable operation: psVector t has incorrect type.
     110<DATE><TIME>|<HOST>|I|testDPoly4DEvalVector
     111    Following should generate an error message for invalid input type
     112<DATE><TIME>|<HOST>|E|psDPolynomial4DEvalVector (FILE:LINENO)
     113    Unallowable operation: psVector x has incorrect type.
    114114
    115115---> TESTPOINT PASSED (psPolynomialXDEval{psDPolynomial4DEvalVector} | tst_psFunc11.c)
Note: See TracChangeset for help on using the changeset viewer.