Changeset 1405
- Timestamp:
- Aug 6, 2004, 12:29:11 PM (22 years ago)
- Location:
- trunk/psLib/test/image
- Files:
-
- 2 edited
-
tst_psImageExtraction.c (modified) (3 diffs)
-
verified/tst_psImageExtraction.stderr (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageExtraction.c
r1404 r1405 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-08-06 2 1:50:14$8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-08-06 22:29:11 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 93 93 if (DIRECTION == PS_CUT_X_POS || DIRECTION == PS_CUT_X_NEG) { \ 94 94 if (positions->data.U32[i] != c/10+TRUTHPIX_X) { \ 95 psError(__func__,"Improper postions result @ %d.",i); \ 95 psError(__func__,"Improper positions (%d vs %d) result @ %d.", \ 96 positions->data.U32[i],c/10+TRUTHPIX_X,i); \ 96 97 return TESTNUM*4+4; \ 97 98 } \ 98 99 } else { \ 99 100 if (positions->data.U32[i] != r/10+TRUTHPIX_Y) { \ 100 psError(__func__,"Improper postions result @ %d.",i); \ 101 psError(__func__,"Improper positions (%d vs %d) result @ %d.", \ 102 positions->data.U32[i],r/10+TRUTHPIX_Y,i); \ 101 103 return TESTNUM*4+4; \ 102 104 } \ … … 119 121 PSIMAGESLICE_TEST1( 1, n, PS_CUT_X_POS, 1, 0, n / 2, 8 ); 120 122 PSIMAGESLICE_TEST1( 1, n, PS_CUT_X_NEG, 1, 0, n / 2, 9 ); 121 PSIMAGESLICE_TEST1( 1, n, PS_CUT_Y_POS, n, 0, n - 1 -i, 10 );123 PSIMAGESLICE_TEST1( 1, n, PS_CUT_Y_POS, n, 0, i, 10 ); 122 124 PSIMAGESLICE_TEST1( 1, n, PS_CUT_Y_NEG, n, 0, n - 1 - i, 11 ); 123 125 -
trunk/psLib/test/image/verified/tst_psImageExtraction.stderr
r1365 r1405 5 5 \**********************************************************************************/ 6 6 7 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.8 <DATE> <TIME>|<HOST>|E| psImageSlice|Input image can not be NULL.9 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.10 <DATE> <TIME>|<HOST>|E| psImageSlice|The stat options didn't specify a single supported statistic type.11 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.12 <DATE> <TIME>|<HOST>|E| psImageSlice|Invalid direction flag (5)13 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.14 <DATE> <TIME>|<HOST>|E| psImageSlice|The specified region contains no data (0x0)15 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.16 <DATE> <TIME>|<HOST>|E| psImageSlice|The specified image region (2001,100 to 2001,100) is outside of image area (0,0 to 1999,999).17 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.18 <DATE> <TIME>|<HOST>|E| psImageSlice|The specified image region (200,1001 to 200,1001) is outside of image area (0,0 to 1999,999).19 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.20 <DATE> <TIME>|<HOST>|E| psImageSlice|The specified image region (200,100 to 2199,100) is outside of image area (0,0 to 1999,999).21 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.22 <DATE> <TIME>|<HOST>|E| psImageSlice|The specified image region (200,100 to 200,1099) is outside of image area (0,0 to 1999,999).23 <DATE> <TIME>|<HOST>|I| testImageSlice|Following should be an error.24 <DATE> <TIME>|<HOST>|E| psImageSlice|The stat options didn't specify a single supported statistic type.7 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 8 <DATE><TIME>|<HOST>|E| psImageSlice|Input image can not be NULL. 9 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 10 <DATE><TIME>|<HOST>|E| psImageSlice|The stat options didn't specify a single supported statistic type. 11 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 12 <DATE><TIME>|<HOST>|E| psImageSlice|Invalid direction flag (5) 13 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 14 <DATE><TIME>|<HOST>|E| psImageSlice|The specified region contains no data (0x0) 15 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 16 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (2001,100 to 2001,100) is outside of image area (0,0 to 1999,999). 17 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 18 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (200,1001 to 200,1001) is outside of image area (0,0 to 1999,999). 19 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 20 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (200,100 to 2199,100) is outside of image area (0,0 to 1999,999). 21 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 22 <DATE><TIME>|<HOST>|E| psImageSlice|The specified image region (200,100 to 200,1099) is outside of image area (0,0 to 1999,999). 23 <DATE><TIME>|<HOST>|I| testImageSlice|Following should be an error. 24 <DATE><TIME>|<HOST>|E| psImageSlice|The stat options didn't specify a single supported statistic type. 25 25 26 26 ---> TESTPOINT PASSED (psImage{psImageSlice} | tst_psImageExtraction.c)
Note:
See TracChangeset
for help on using the changeset viewer.
