Changeset 1954
- Timestamp:
- Oct 4, 2004, 3:45:30 PM (22 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 2 edited
-
tst_psImageStats02.c (modified) (2 diffs)
-
verified/tst_psImageStats02.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageStats02.c
r1952 r1954 25 25 psImage *tmpImage = NULL; 26 26 psImage *outImage = NULL; 27 psImage *nullImage = NULL; 27 28 psPolynomial2D *my2DPoly = NULL; 28 29 psPolynomial2D *null2DPoly = NULL; … … 102 103 } 103 104 105 106 psLogMsg(__func__,PS_LOG_INFO,"Following should be an error message for NULL coeffs argument."); 107 nullImage = psImageEvalPolynomial( outImage, NULL ); 108 if ( nullImage != NULL ) { 109 printf("ERROR: psImageEvalPolynomial did not return NULL with invalid coeffs argument."); 110 } 111 112 psLogMsg(__func__,PS_LOG_INFO,"Following should be a error message for NULL input argument."); 113 nullImage = psImageEvalPolynomial( NULL, my2DPoly ); 114 if ( nullImage != NULL ) { 115 printf("ERROR: psImageEvalPolynomial did not return NULL with null input image."); 116 } 117 118 104 119 psMemCheckCorruption( 1 ); 105 120 printFooter( stdout, -
trunk/psLib/test/image/verified/tst_psImageStats02.stderr
r1952 r1954 7 7 <DATE><TIME>|<HOST>|E|psLib.image.psImageFitPolynomial 8 8 Can not operate on a NULL psImage. 9 <DATE><TIME>|<HOST>|I|main 10 Following should be an error message for NULL coeffs argument. 11 <DATE><TIME>|<HOST>|E|psLib.image.psImageEvalPolynomial 12 Polynomial coefficients cannot be NULL. 13 <DATE><TIME>|<HOST>|I|main 14 Following should be a error message for NULL input argument. 15 <DATE><TIME>|<HOST>|E|psLib.image.psImageEvalPolynomial 16 Can not operate on a NULL psImage.
Note:
See TracChangeset
for help on using the changeset viewer.
