Index: /trunk/psLib/test/collections/verified/tst_psBitSet_01.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_01.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_01.stdout	(revision 805)
@@ -6,5 +6,5 @@
 
 Creating psBitSet with 24 bits...
-000000000000000000000000
+000000000000000000000000ïŸ­Þ
 
 
@@ -18,5 +18,5 @@
 
 Setting third bit...
-000000000000000000000100
+000000000000000000000100ïŸ­Þ
 
 
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_02.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_02.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_02.stdout	(revision 805)
@@ -5,10 +5,10 @@
 \----------------------------------------------------------------------------------/
 
-000000000000000000000000
-000000000000000000000000
+000000000000000000000000ïŸ­Þ
+000000000000000000000000ïŸ­Þ
 
 Setting all bits true...
-111111111111111111111111
-111111111111111111111111
+111111111111111111111111ïŸ­Þ
+111111111111111111111111ïŸ­Þ
 
 
@@ -22,5 +22,5 @@
 
 Result:
-111111111111111111111111
+111111111111111111111111ïŸ­Þ
 
 ---> TESTPOINT PASSED (psBitSet{Perform binary AND with psBitSets} | tst_psBitSet_02.c)
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_03.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_03.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_03.stdout	(revision 805)
@@ -5,10 +5,10 @@
 \----------------------------------------------------------------------------------/
 
-000000000000000000000000
-000000000000000000000000
+000000000000000000000000ïŸ­Þ
+000000000000000000000000ïŸ­Þ
 
 Setting all bits true...
-111111111111111111111111
-111111111111111111111111
+111111111111111111111111ïŸ­Þ
+111111111111111111111111ïŸ­Þ
 
 
@@ -22,5 +22,5 @@
 
 Result:
-111111111111111111111111
+111111111111111111111111ïŸ­Þ
 
 ---> TESTPOINT PASSED (psBitSet{Perform binary OR with psBitSets} | tst_psBitSet_03.c)
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_04.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_04.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_04.stdout	(revision 805)
@@ -5,10 +5,10 @@
 \----------------------------------------------------------------------------------/
 
-000000000000000000000000
-000000000000000000000000
+000000000000000000000000ïŸ­Þ
+000000000000000000000000ïŸ­Þ
 
 Setting all bits true...
-111111111111111111111111
-111111111111111111111111
+111111111111111111111111ïŸ­Þ
+111111111111111111111111ïŸ­Þ
 
 
@@ -22,5 +22,5 @@
 
 Result:
-000000000000000000000000
+000000000000000000000000ïŸ­Þ
 
 ---> TESTPOINT PASSED (psBitSet{Perform binary XOR with psBitSets} | tst_psBitSet_04.c)
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_05.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_05.stderr	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_05.stderr	(revision 805)
@@ -1,1 +1,1 @@
- <DATE> <TIME> <HOST> |E|psBitSetOp     | : Line 156 - psBitSet sizes not the same
+ <DATE> <TIME> <HOST> |E|psBitSetOp     | : Line 178 - psBitSet sizes not the same
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_05.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_05.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_05.stdout	(revision 805)
@@ -5,6 +5,6 @@
 \----------------------------------------------------------------------------------/
 
-000000000000000000000000
-0000000000000000000000000000000000000000
+000000000000000000000000ïŸ­Þ
+0000000000000000000000000000000000000000ïŸ­Þ
 
 
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_06.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_06.stderr	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_06.stderr	(revision 805)
@@ -1,1 +1,2 @@
- <DATE> <TIME> <HOST> |E|psBitSetOp     | : Line 183 - Invalid psBitMask binary operation: ZZXOR
+ <DATE> <TIME> <HOST> |E|psBitSetOp     | : Line 205 - Invalid psBitMask binary operation: [Ã
+(
Index: /trunk/psLib/test/collections/verified/tst_psBitSet_06.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psBitSet_06.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psBitSet_06.stdout	(revision 805)
@@ -5,6 +5,6 @@
 \----------------------------------------------------------------------------------/
 
-000000000000000000000000
-000000000000000000000000
+000000000000000000000000ïŸ­Þ
+000000000000000000000000ïŸ­Þ
 
 
Index: /trunk/psLib/test/collections/verified/tst_psSort_01.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psSort_01.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psSort_01.stdout	(revision 805)
@@ -1,37 +1,37 @@
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_01.c                                            |
-|            TestPoint: psSort{Create float arrays}                                |
+|            TestPoint: psSort{Create float vectors}                               |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
 
-arr[0] = 7.000000
-arr[1] = 9.000000
-arr[2] = 3.000000
-arr[3] = 1.000000
-arr[4] = 5.000000
+vec[0] = 7.000000
+vec[1] = 9.000000
+vec[2] = 3.000000
+vec[3] = 1.000000
+vec[4] = 5.000000
 
----> TESTPOINT PASSED (psSort{Create float arrays} | tst_psSort_01.c)
+---> TESTPOINT PASSED (psSort{Create float vectors} | tst_psSort_01.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_01.c                                            |
-|            TestPoint: psSort{Sort float array}                                   |
+|            TestPoint: psSort{Sort float vector}                                  |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
 
-arr[0] = 1.000000
-arr[1] = 3.000000
-arr[2] = 5.000000
-arr[3] = 7.000000
-arr[4] = 9.000000
+vec[0] = 1.000000
+vec[1] = 3.000000
+vec[2] = 5.000000
+vec[3] = 7.000000
+vec[4] = 9.000000
 
----> TESTPOINT PASSED (psSort{Sort float array} | tst_psSort_01.c)
+---> TESTPOINT PASSED (psSort{Sort float vector} | tst_psSort_01.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_01.c                                            |
-|            TestPoint: psSort{Free float arrays}                                  |
+|            TestPoint: psSort{Free float vectors}                                 |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
 
 
----> TESTPOINT PASSED (psSort{Free float arrays} | tst_psSort_01.c)
+---> TESTPOINT PASSED (psSort{Free float vectors} | tst_psSort_01.c)
 
Index: /trunk/psLib/test/collections/verified/tst_psSort_02.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psSort_02.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psSort_02.stdout	(revision 805)
@@ -1,5 +1,5 @@
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_02.c                                            |
-|            TestPoint: psSort{Create arrays}                                      |
+|            TestPoint: psSort{Create vectors}                                     |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
@@ -11,9 +11,9 @@
 arr[4] = 5.000000
 
----> TESTPOINT PASSED (psSort{Create arrays} | tst_psSort_02.c)
+---> TESTPOINT PASSED (psSort{Create vectors} | tst_psSort_02.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_02.c                                            |
-|            TestPoint: psSort{Create sorted index array}                          |
+|            TestPoint: psSort{Create sorted index vector}                         |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
@@ -25,13 +25,13 @@
 arr[4] = 1
 
----> TESTPOINT PASSED (psSort{Create sorted index array} | tst_psSort_02.c)
+---> TESTPOINT PASSED (psSort{Create sorted index vector} | tst_psSort_02.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_02.c                                            |
-|            TestPoint: psSort{Free arrays}                                        |
+|            TestPoint: psSort{Free vectors}                                       |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
 
 
----> TESTPOINT PASSED (psSort{Free arrays} | tst_psSort_02.c)
+---> TESTPOINT PASSED (psSort{Free vectors} | tst_psSort_02.c)
 
Index: /trunk/psLib/test/collections/verified/tst_psSort_03.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psSort_03.stderr	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psSort_03.stderr	(revision 805)
@@ -1,1 +1,1 @@
- <DATE> <TIME> <HOST> |E|psSort         | : Line 136 - Input and output array sizes are not equal: in=5 out=6
+ <DATE> <TIME> <HOST> |E|psSort         | : Line 136 - Input and output vector sizes are not equal: in=5 out=6
Index: /trunk/psLib/test/collections/verified/tst_psSort_03.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psSort_03.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psSort_03.stdout	(revision 805)
@@ -1,5 +1,5 @@
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_03.c                                            |
-|            TestPoint: psSort{Create float arrays of different sizes}             |
+|            TestPoint: psSort{Create float vectors of different sizes}            |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
@@ -11,24 +11,24 @@
 arr[4] = 0.000000
 
----> TESTPOINT PASSED (psSort{Create float arrays of different sizes} | tst_psSort_03.c)
+---> TESTPOINT PASSED (psSort{Create float vectors of different sizes} | tst_psSort_03.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_03.c                                            |
-|            TestPoint: psSort{Sort float array}                                   |
+|            TestPoint: psSort{Sort float vector}                                  |
 |             TestType: Negative                                                   |
-|    ExpectedErrorText: Input and output array sizes are not equal                 |
+|    ExpectedErrorText: Input and output vector sizes are not equal                |
 |  ExpectedStatusValue: 0                                                          |
 \----------------------------------------------------------------------------------/
 
 
----> TESTPOINT PASSED (psSort{Sort float array} | tst_psSort_03.c)
+---> TESTPOINT PASSED (psSort{Sort float vector} | tst_psSort_03.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_03.c                                            |
-|            TestPoint: psSort{Free float arrays}                                  |
+|            TestPoint: psSort{Free float vectors}                                 |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
 
 
----> TESTPOINT PASSED (psSort{Free float arrays} | tst_psSort_03.c)
+---> TESTPOINT PASSED (psSort{Free float vectors} | tst_psSort_03.c)
 
Index: /trunk/psLib/test/collections/verified/tst_psSort_04.stderr
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psSort_04.stderr	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psSort_04.stderr	(revision 805)
@@ -1,2 +1,2 @@
- <DATE> <TIME> <HOST> |E|psSort         | : Line 124 - Null input array
- <DATE> <TIME> <HOST> |E|psSort         | : Line 119 - Null output array
+ <DATE> <TIME> <HOST> |E|psSort         | : Line 124 - Null input vector
+ <DATE> <TIME> <HOST> |E|psSort         | : Line 119 - Null output vector
Index: /trunk/psLib/test/collections/verified/tst_psSort_04.stdout
===================================================================
--- /trunk/psLib/test/collections/verified/tst_psSort_04.stdout	(revision 804)
+++ /trunk/psLib/test/collections/verified/tst_psSort_04.stdout	(revision 805)
@@ -1,27 +1,27 @@
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_04.c                                            |
-|            TestPoint: psSort{Attempt to sort with null input array}              |
+|            TestPoint: psSort{Attempt to sort with null input vector}             |
 |             TestType: Negative                                                   |
-|    ExpectedErrorText: Null input array                                           |
+|    ExpectedErrorText: Null input vector                                          |
 |  ExpectedStatusValue: 0                                                          |
 \----------------------------------------------------------------------------------/
 
 
----> TESTPOINT PASSED (psSort{Attempt to sort with null input array} | tst_psSort_04.c)
+---> TESTPOINT PASSED (psSort{Attempt to sort with null input vector} | tst_psSort_04.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_04.c                                            |
-|            TestPoint: psSort{Attempt to sort with null output array}             |
+|            TestPoint: psSort{Attempt to sort with null output vector}            |
 |             TestType: Negative                                                   |
-|    ExpectedErrorText: Null output array                                          |
+|    ExpectedErrorText: Null output vector                                         |
 |  ExpectedStatusValue: 0                                                          |
 \----------------------------------------------------------------------------------/
 
 
----> TESTPOINT PASSED (psSort{Attempt to sort with null output array} | tst_psSort_04.c)
+---> TESTPOINT PASSED (psSort{Attempt to sort with null output vector} | tst_psSort_04.c)
 
 /----------------------------- TESTPOINT ------------------------------------------\
 |             TestFile: tst_psSort_04.c                                            |
-|            TestPoint: psSort{Free arrays}                                        |
+|            TestPoint: psSort{Free vectors}                                       |
 |             TestType: Positive                                                   |
 \----------------------------------------------------------------------------------/
Index: /trunk/psLib/test/image/verified/tst_psImage.stderr
===================================================================
--- /trunk/psLib/test/image/verified/tst_psImage.stderr	(revision 805)
+++ /trunk/psLib/test/image/verified/tst_psImage.stderr	(revision 805)
@@ -0,0 +1,103 @@
+ <DATE> <TIME> <HOST> |I|testImageSubset|memcpy(&preSubsetStruct,original,sizeof(psImage));
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset1 = psImageAlloc(c/4,r/4,PS_TYPE_U8);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset2 = psImageSubset(subset1,original,c/2,r/2,c/4,r/4);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset3 = psImageSubset(NULL,original,c/2,r/2,0,0);
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure is equal to the input psImage structure parameter out, if input parameter out is specified.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify a new psImage structure is created, if input parameter out is set to null.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure contains expected values in the row member, if the input psImage structure image contains known values.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member type is equal to the input psImage structure member type.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member parent is equal to the input psImage structure pointer image.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member Nchildren is equal to zero.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member children is null.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the input psImage structure image only has the following members changed: 1) Nchildren is increased by one. 2) parent contains pointer psImage structure out at parent[Nchildren-1].
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameter image is null. Also verified the input psImage structure is not modified.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because input image or its pixel buffer is NULL.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program  execution doesn't stop, if the input parameters nrow and/or ncol are zero. Also verify input psImage structure is not modified.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (0x128).
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameters row0 and col0 are not within the range of values of psImage structure image.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,-1) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop if the input parameters nrow, ncol, row0 and col0 specify a range of data not within the input psImage structure image.  Also verify the input psImage structure is not modified.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]).
+ <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure
+ <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImage.c                                              |
+|            TestPoint: psImage{546/548-testImageAlloc/Free}                       |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+ <DATE> <TIME> <HOST> |I|testImageAlloc |#546 - psImageAlloc shall allocate memory for a psImage structure
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 101h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 102h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 104h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 108h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 301h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 302h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 304h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 308h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 404h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 408h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 808h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+ <DATE> <TIME> <HOST> |I|testImageAlloc |Testing psImage with type 810h
+ <DATE> <TIME> <HOST> |E|psImageAlloc   |Invalid value for number of rows or columns (numRows=0, numCols=0).
+
+---> TESTPOINT PASSED (psImage{546/548-testImageAlloc/Free} | tst_psImage.c)
+
+/----------------------------- TESTPOINT ------------------------------------------\
+|             TestFile: tst_psImage.c                                              |
+|            TestPoint: psImage{547/549-testImageSubset}                           |
+|             TestType: Positive                                                   |
+\----------------------------------------------------------------------------------/
+
+ <DATE> <TIME> <HOST> |I|testImageSubset|memcpy(&preSubsetStruct,original,sizeof(psImage));
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset1 = psImageAlloc(c/4,r/4,PS_TYPE_U8);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset2 = psImageSubset(subset1,original,c/2,r/2,c/4,r/4);
+ <DATE> <TIME> <HOST> |I|testImageSubset|subset3 = psImageSubset(NULL,original,c/2,r/2,0,0);
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure is equal to the input psImage structure parameter out, if input parameter out is specified.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify a new psImage structure is created, if input parameter out is set to null.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure contains expected values in the row member, if the input psImage structure image contains known values.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members nrow and ncol are equal to the input parameter nrow and ncol respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member type is equal to the input psImage structure member type.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure members row0 and col0 are equal to the input parameters row0 and col0 respectively.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member parent is equal to the input psImage structure pointer image.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member Nchildren is equal to zero.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure member children is null.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the input psImage structure image only has the following members changed: 1) Nchildren is increased by one. 2) parent contains pointer psImage structure out at parent[Nchildren-1].
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameter image is null. Also verified the input psImage structure is not modified.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because input image or its pixel buffer is NULL.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program  execution doesn't stop, if the input parameters nrow and/or ncol are zero. Also verify input psImage structure is not modified.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (64x0).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because number of rows or columns are zero (0x128).
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop, if the input parameters row0 and col0 are not within the range of values of psImage structure image.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (128,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,256) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (-1,0) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image because col0,row0 (0,-1) is not a valid pixel location.
+ <DATE> <TIME> <HOST> |I|testImageSubset|Verify the returned psImage structure pointer is null and program execution doesn't stop if the input parameters nrow, ncol, row0 and col0 specify a range of data not within the input psImage structure image.  Also verify the input psImage structure is not modified.
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,0:128]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[0:64,128:256]).
+ <DATE> <TIME> <HOST> |E|psImageSubset  |Can not subset image outside of image boundaries (size=128x256, subset=[64:128,128:256]).
+ <DATE> <TIME> <HOST> |I|testImageSubset|psImageFreeChildren shall deallocate any children images of a psImage structure
+ <DATE> <TIME> <HOST> |E|testImageSubset|psImageFreeChildren row+cols).
+
+---> TESTPOINT PASSED (psImage{547/549-testImageSubset} | tst_psImage.c)
+
