Changeset 4422 for trunk/psLib/test/dataManip
- Timestamp:
- Jun 28, 2005, 2:43:46 PM (21 years ago)
- Location:
- trunk/psLib/test/dataManip
- Files:
-
- 6 edited
-
tst_psFunc00.c (modified) (3 diffs)
-
verified/tst_psFunc00.stderr (modified) (4 diffs)
-
verified/tst_psFunc08.stderr (modified) (1 diff)
-
verified/tst_psFunc09.stderr (modified) (1 diff)
-
verified/tst_psFunc10.stderr (modified) (1 diff)
-
verified/tst_psFunc11.stderr (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psFunc00.c
r3682 r4422 14 14 * orders are created. 15 15 * 16 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $17 * @date $Date: 2005-0 4-07 20:27:41$16 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-06-29 00:43:46 $ 18 18 * 19 19 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 466 466 } 467 467 // Verify polynomial structure members set properly 468 if(my4DPoly->n X!= ORDER) {469 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 470 my4DPoly->n X, ORDER);471 return 2; 472 } 473 // Verify polynomial structure members set properly 474 if(my4DPoly->n Y!= ORDER+1) {475 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 476 my4DPoly->n Y, ORDER+1);477 return 3; 478 } 479 // Verify polynomial structure members set properly 480 if(my4DPoly->n Z!= ORDER+2) {481 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 482 my4DPoly->n Z, 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); 483 483 return 4; 484 484 } 485 485 // Verify polynomial structure members set properly 486 if(my4DPoly->n W!= ORDER+3) {487 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 488 my4DPoly->n W, 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); 489 489 return 5; 490 490 } … … 560 560 } 561 561 // Verify polynomial structure members set properly 562 if(my4DDPoly->n X!= ORDER) {563 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 564 my4DDPoly->n X, ORDER);565 return 2; 566 } 567 // Verify polynomial structure members set properly 568 if(my4DDPoly->n Y!= ORDER+1) {569 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 570 my4DDPoly->n Y, ORDER+1);571 return 3; 572 } 573 // Verify polynomial structure members set properly 574 if(my4DDPoly->n Z!= ORDER+2) {575 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 576 my4DDPoly->n Z, 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); 577 577 return 4; 578 578 } 579 579 // Verify polynomial structure members set properly 580 if(my4DDPoly->n W!= ORDER+3) {581 psError(PS_ERR_UNKNOWN,true,"Number of terms %d not as expected %d", 582 my4DDPoly->n W, 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); 583 583 return 5; 584 584 } -
trunk/psLib/test/dataManip/verified/tst_psFunc00.stderr
r3769 r4422 59 59 Following should generate error msg for negative terms 60 60 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO) 61 Error: nW is 0 or less.62 <DATE><TIME>|<HOST>|I|testPolynomial4DAlloc63 Following should generate error msg for negative terms64 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO)65 61 Error: nX is 0 or less. 66 62 <DATE><TIME>|<HOST>|I|testPolynomial4DAlloc … … 72 68 <DATE><TIME>|<HOST>|E|psPolynomial4DAlloc (FILE:LINENO) 73 69 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. 74 74 75 75 ---> TESTPOINT PASSED (psPolynomialXD{psPolynomial4DAlloc} | tst_psFunc00.c) … … 135 135 Following should generate error msg for negative terms 136 136 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO) 137 Error: nW is 0 or less.138 <DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc139 Following should generate error msg for negative terms140 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO)141 137 Error: nX is 0 or less. 142 138 <DATE><TIME>|<HOST>|I|testDPolynomial4DAlloc … … 148 144 <DATE><TIME>|<HOST>|E|psDPolynomial4DAlloc (FILE:LINENO) 149 145 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. 150 150 151 151 ---> TESTPOINT PASSED (psPolynomialXD{psDPolynomial4DAlloc} | tst_psFunc00.c) -
trunk/psLib/test/dataManip/verified/tst_psFunc08.stderr
r4405 r4422 55 55 Following should generate an error message for NULL polynomial 56 56 <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. 58 58 <DATE><TIME>|<HOST>|I|testDPoly1DEvalVector 59 59 Following should generate an error message for NULL input vector -
trunk/psLib/test/dataManip/verified/tst_psFunc09.stderr
r4405 r4422 63 63 Following should generate an error message for NULL polynomial 64 64 <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. 66 66 <DATE><TIME>|<HOST>|I|testDPoly2DEvalVector 67 67 Following should generate an error message for NULL input vector -
trunk/psLib/test/dataManip/verified/tst_psFunc10.stderr
r4405 r4422 71 71 Following should generate an error message for NULL polynomial 72 72 <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. 74 74 <DATE><TIME>|<HOST>|I|testDPoly3DEvalVector 75 75 Following should generate an error message for NULL input vector -
trunk/psLib/test/dataManip/verified/tst_psFunc11.stderr
r4405 r4422 79 79 Following should generate an error message for NULL polynomial 80 80 <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. 86 82 <DATE><TIME>|<HOST>|I|testDPoly4DEvalVector 87 83 Following should generate an error message for NULL input vector … … 97 93 Unallowable operation: psVector z or its data is NULL. 98 94 <DATE><TIME>|<HOST>|I|testDPoly4DEvalVector 99 Following should generate an error message for invalid input type95 Following should generate an error message for NULL input vector 100 96 <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. 102 98 <DATE><TIME>|<HOST>|I|testDPoly4DEvalVector 103 99 Following should generate an error message for invalid input type … … 111 107 Following should generate an error message for invalid input type 112 108 <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. 114 114 115 115 ---> TESTPOINT PASSED (psPolynomialXDEval{psDPolynomial4DEvalVector} | tst_psFunc11.c)
Note:
See TracChangeset
for help on using the changeset viewer.
