Changeset 1957
- Timestamp:
- Oct 5, 2004, 9:42:51 AM (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
r1929 r1957 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $9 * @date $Date: 2004- 09-29 20:17:58$8 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-10-05 19:42:51 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 {testImageSubset,547,"psImageSubset",0,false}, 26 26 {testImageSubset,550,"psImageSubset",0,true}, 27 {testImageSubsection,730,"psImageSubsection",0, true},27 {testImageSubsection,730,"psImageSubsection",0,false}, 28 28 {testImageSlice, 552, "psImageSlice", 0, false}, 29 29 {NULL} … … 525 525 } 526 526 527 // # 547: psImageSubsetshall create child image of a specified size from a parent psImage structure527 // #730: psImageSubsection shall create child image of a specified size from a parent psImage structure 528 528 int testImageSubsection(void) 529 529 { -
trunk/psLib/test/image/verified/tst_psImageExtraction.stderr
r1929 r1957 74 74 /***************************** TESTPOINT ******************************************\ 75 75 * TestFile: tst_psImageExtraction.c * 76 * TestPoint: psImage{psImageSubsection} * 77 * TestType: Positive * 78 \**********************************************************************************/ 79 80 <DATE><TIME>|<HOST>|I|testImageSubsection 81 Testing subsection [0:<LINENO>,0:<LINENO>]. 82 <DATE><TIME>|<HOST>|I|testImageSubsection 83 Testing subsection [32:<LINENO>,32:<LINENO>]. 84 <DATE><TIME>|<HOST>|I|testImageSubsection 85 Testing subsection [64:<LINENO>,32:<LINENO>]. 86 <DATE><TIME>|<HOST>|I|testImageSubsection 87 Testing subsection [32:<LINENO>,128:<LINENO>]. 88 <DATE><TIME>|<HOST>|I|testImageSubsection 89 An error should follow (x1>x2) 90 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection 91 Specified subset range, [64:<LINENO>,32:<LINENO>], is invalid. Ranges must be incremental. 92 <DATE><TIME>|<HOST>|I|testImageSubsection 93 An error should follow (y1>y2) 94 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection 95 Specified subset range, [32:<LINENO>,64:<LINENO>], is invalid. Ranges must be incremental. 96 <DATE><TIME>|<HOST>|I|testImageSubsection 97 An error should follow (x2>nCols) 98 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubset 99 Specified subset range, [64:<LINENO>,32:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>]. 100 <DATE><TIME>|<HOST>|I|testImageSubsection 101 An error should follow (y2>=nRows) 102 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubset 103 Specified subset range, [32:<LINENO>,64:<LINENO>], is invalid or outside input psImage's boundaries, [0:<LINENO>,0:<LINENO>]. 104 <DATE><TIME>|<HOST>|I|testImageSubsection 105 An error should follow (malformed string - no brackets) 106 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection 107 Specified subsection string, '32:<LINENO>,32:<LINENO>', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 108 <DATE><TIME>|<HOST>|I|testImageSubsection 109 An error should follow (malformed string - no colons) 110 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection 111 Specified subsection string, '[32-64,32-64]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 112 <DATE><TIME>|<HOST>|I|testImageSubsection 113 An error should follow (malformed string - not four numbers) 114 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection 115 Specified subsection string, '[32:<LINENO>,32]', can not be parsed. Must be in the form '[x1:x2,y1:y2]'. 116 <DATE><TIME>|<HOST>|I|testImageSubsection 117 An error should follow (image is NULL) 118 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubset 119 Can not operate on a NULL psImage. 120 <DATE><TIME>|<HOST>|I|testImageSubsection 121 An error should follow (subsection string is NULL) 122 <DATE><TIME>|<HOST>|E|psLib.image.psImageSubsection 123 Specified subsection string can not be NULL. 124 125 ---> TESTPOINT PASSED (psImage{psImageSubsection} | tst_psImageExtraction.c) 126 127 /***************************** TESTPOINT ******************************************\ 128 * TestFile: tst_psImageExtraction.c * 76 129 * TestPoint: psImage{psImageSlice} * 77 130 * TestType: Positive *
Note:
See TracChangeset
for help on using the changeset viewer.
