Changeset 5095
- Timestamp:
- Sep 22, 2005, 12:24:58 PM (21 years ago)
- Location:
- trunk/psLib/test/astro
- Files:
-
- 4 edited
-
tst_psCoord.c (modified) (2 diffs)
-
tst_psCoord01.c (modified) (2 diffs)
-
verified/tst_psCoord.stderr (modified) (4 diffs)
-
verified/tst_psCoord01.stderr (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psCoord.c
r5090 r5095 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-09-22 02:47:16$8 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-09-22 22:24:58 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 29 29 psS32 main( psS32 argc, char* argv[] ) 30 30 { 31 psLogSetFormat("HLNM"); 31 32 psLogSetLevel( PS_LOG_INFO ); 32 33 -
trunk/psLib/test/astro/tst_psCoord01.c
r4547 r5095 6 6 * @author Eric Van Alst, MHPCC 7 7 * 8 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-0 7-13 02:46:58 $8 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-09-22 22:24:58 $ 10 10 * 11 11 * Copyright 2005 Maui High Performance Computing Center, Univ. of Hawaii … … 150 150 psS32 main( psS32 argc, char* argv[] ) 151 151 { 152 psLogSetFormat("HLNM"); 152 153 psLogSetLevel( PS_LOG_INFO ); 153 154 -
trunk/psLib/test/astro/verified/tst_psCoord.stderr
r4601 r5095 5 5 \**********************************************************************************/ 6 6 7 < DATE><TIME>|<HOST>|I|testPlaneTransformAlloc7 <HOST>|I|testPlaneTransformAlloc 8 8 Following should generate an error message: negative x terms 9 < DATE><TIME>|<HOST>|E|psPlaneTransformAlloc (FILE:LINENO)9 <HOST>|E|psPlaneTransformAlloc (FILE:LINENO) 10 10 Error: n1 is less than 0. 11 < DATE><TIME>|<HOST>|I|testPlaneTransformAlloc11 <HOST>|I|testPlaneTransformAlloc 12 12 Following should generate an error message: negative y terms 13 < DATE><TIME>|<HOST>|E|psPlaneTransformAlloc (FILE:LINENO)13 <HOST>|E|psPlaneTransformAlloc (FILE:LINENO) 14 14 Error: n2 is less than 0. 15 15 … … 22 22 \**********************************************************************************/ 23 23 24 < DATE><TIME>|<HOST>|I|testPlaneDistortAlloc24 <HOST>|I|testPlaneDistortAlloc 25 25 Following should generate an error message for negative x term 26 < DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO)26 <HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 27 27 Error: n1 is less than 0. 28 < DATE><TIME>|<HOST>|I|testPlaneDistortAlloc28 <HOST>|I|testPlaneDistortAlloc 29 29 Following should generate an error message for negative y term 30 < DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO)30 <HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 31 31 Error: n2 is less than 0. 32 < DATE><TIME>|<HOST>|I|testPlaneDistortAlloc32 <HOST>|I|testPlaneDistortAlloc 33 33 Following should generate an error message for negative z term 34 < DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO)34 <HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 35 35 Error: n3 is less than 0. 36 < DATE><TIME>|<HOST>|I|testPlaneDistortAlloc36 <HOST>|I|testPlaneDistortAlloc 37 37 Following should generate an error message for negative w term 38 < DATE><TIME>|<HOST>|E|psPlaneDistortAlloc (FILE:LINENO)38 <HOST>|E|psPlaneDistortAlloc (FILE:LINENO) 39 39 Error: n4 is less than 0. 40 40 … … 47 47 \**********************************************************************************/ 48 48 49 < DATE><TIME>|<HOST>|I|testPlaneTransformApply49 <HOST>|I|testPlaneTransformApply 50 50 Following should generate error message for NULL psPlaneTransform 51 < DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO)51 <HOST>|E|psPlaneTransformApply (FILE:LINENO) 52 52 Unallowable operation: transform is NULL. 53 < DATE><TIME>|<HOST>|I|testPlaneTransformApply53 <HOST>|I|testPlaneTransformApply 54 54 Following should generate error message for NULL x coeff psPlaneTransform 55 < DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO)55 <HOST>|E|psPlaneTransformApply (FILE:LINENO) 56 56 Unallowable operation: transform->x is NULL. 57 < DATE><TIME>|<HOST>|I|testPlaneTransformApply57 <HOST>|I|testPlaneTransformApply 58 58 Following should generate error message for NULL y coeff psPlaneTransform 59 < DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO)59 <HOST>|E|psPlaneTransformApply (FILE:LINENO) 60 60 Unallowable operation: transform->y is NULL. 61 < DATE><TIME>|<HOST>|I|testPlaneTransformApply61 <HOST>|I|testPlaneTransformApply 62 62 Following should generate error message for NULL psPlane 63 < DATE><TIME>|<HOST>|E|psPlaneTransformApply (FILE:LINENO)63 <HOST>|E|psPlaneTransformApply (FILE:LINENO) 64 64 Unallowable operation: coords is NULL. 65 65 … … 72 72 \**********************************************************************************/ 73 73 74 < DATE><TIME>|<HOST>|I|testPlaneDistortApply74 <HOST>|I|testPlaneDistortApply 75 75 Following should generate an error message for null psPlaneDistort 76 < DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO)76 <HOST>|E|psPlaneDistortApply (FILE:LINENO) 77 77 Unallowable operation: distort is NULL. 78 < DATE><TIME>|<HOST>|I|testPlaneDistortApply78 <HOST>|I|testPlaneDistortApply 79 79 Following should generate an error message for null x member psPlaneDistort 80 < DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO)80 <HOST>|E|psPlaneDistortApply (FILE:LINENO) 81 81 Unallowable operation: distort->x is NULL. 82 < DATE><TIME>|<HOST>|I|testPlaneDistortApply82 <HOST>|I|testPlaneDistortApply 83 83 Following should generate an error message for null y member psPlaneDistort 84 < DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO)84 <HOST>|E|psPlaneDistortApply (FILE:LINENO) 85 85 Unallowable operation: distort->y is NULL. 86 < DATE><TIME>|<HOST>|I|testPlaneDistortApply86 <HOST>|I|testPlaneDistortApply 87 87 Following should generate an error message for null input psPlane 88 < DATE><TIME>|<HOST>|E|psPlaneDistortApply (FILE:LINENO)88 <HOST>|E|psPlaneDistortApply (FILE:LINENO) 89 89 Unallowable operation: coords is NULL. 90 90 -
trunk/psLib/test/astro/verified/tst_psCoord01.stderr
r4547 r5095 86 86 \**********************************************************************************/ 87 87 88 < DATE><TIME>|<HOST>|I|testProjectFail88 <HOST>|I|testProjectFail 89 89 Following should generate an error message for null coord arg 90 < DATE><TIME>|<HOST>|E|psProject (FILE:LINENO)90 <HOST>|E|psProject (FILE:LINENO) 91 91 Unallowable operation: coord is NULL. 92 < DATE><TIME>|<HOST>|I|testProjectFail92 <HOST>|I|testProjectFail 93 93 Following should generate an error message for null projection arg 94 < DATE><TIME>|<HOST>|E|psProject (FILE:LINENO)94 <HOST>|E|psProject (FILE:LINENO) 95 95 Unallowable operation: projection is NULL. 96 < DATE><TIME>|<HOST>|I|testProjectFail96 <HOST>|I|testProjectFail 97 97 Following should generate an error message for invalid projection type 98 < DATE><TIME>|<HOST>|E|psProject (FILE:LINENO)98 <HOST>|E|psProject (FILE:LINENO) 99 99 The projection type, 4, is unknown. 100 100 … … 107 107 \**********************************************************************************/ 108 108 109 < DATE><TIME>|<HOST>|I|testDeprojectFail109 <HOST>|I|testDeprojectFail 110 110 Following should generate an error message for null coord arg 111 < DATE><TIME>|<HOST>|E|psDeproject (FILE:LINENO)111 <HOST>|E|psDeproject (FILE:LINENO) 112 112 Unallowable operation: coord is NULL. 113 < DATE><TIME>|<HOST>|I|testDeprojectFail113 <HOST>|I|testDeprojectFail 114 114 Following should generate an error message for null projection arg 115 < DATE><TIME>|<HOST>|E|psDeproject (FILE:LINENO)115 <HOST>|E|psDeproject (FILE:LINENO) 116 116 Unallowable operation: projection is NULL. 117 < DATE><TIME>|<HOST>|I|testDeprojectFail117 <HOST>|I|testDeprojectFail 118 118 Following should generate an error message for invalid projection type 119 < DATE><TIME>|<HOST>|E|psDeproject (FILE:LINENO)119 <HOST>|E|psDeproject (FILE:LINENO) 120 120 The projection type, 4, is unknown. 121 121 … … 128 128 \**********************************************************************************/ 129 129 130 < DATE><TIME>|<HOST>|I|testSetOffsetSphere130 <HOST>|I|testSetOffsetSphere 131 131 Following should generate error message null input coord 132 < DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO)132 <HOST>|E|psSphereSetOffset (FILE:LINENO) 133 133 Unallowable operation: position is NULL. 134 < DATE><TIME>|<HOST>|I|testSetOffsetSphere134 <HOST>|I|testSetOffsetSphere 135 135 Following should generate error message null offset 136 < DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO)136 <HOST>|E|psSphereSetOffset (FILE:LINENO) 137 137 Unallowable operation: offset is NULL. 138 < DATE><TIME>|<HOST>|I|testSetOffsetSphere138 <HOST>|I|testSetOffsetSphere 139 139 Following should generate error message invalid mode 140 < DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO)140 <HOST>|E|psSphereSetOffset (FILE:LINENO) 141 141 Specified offset mode, 0x54321, is not supported. 142 < DATE><TIME>|<HOST>|I|testSetOffsetSphere142 <HOST>|I|testSetOffsetSphere 143 143 Following should generate an error message invalid unit 144 < DATE><TIME>|<HOST>|E|psSphereSetOffset (FILE:LINENO)144 <HOST>|E|psSphereSetOffset (FILE:LINENO) 145 145 Specified units, 0x54321, is not supported. 146 146 … … 162 162 \**********************************************************************************/ 163 163 164 < DATE><TIME>|<HOST>|I|testGetOffsetSphere164 <HOST>|I|testGetOffsetSphere 165 165 Following should generate an error message for null position 166 < DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO)166 <HOST>|E|psSphereGetOffset (FILE:LINENO) 167 167 Unallowable operation: position1 is NULL. 168 < DATE><TIME>|<HOST>|I|testGetOffsetSphere168 <HOST>|I|testGetOffsetSphere 169 169 Following should generate an error message for null position 170 < DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO)170 <HOST>|E|psSphereGetOffset (FILE:LINENO) 171 171 Unallowable operation: position2 is NULL. 172 < DATE><TIME>|<HOST>|I|testGetOffsetSphere172 <HOST>|I|testGetOffsetSphere 173 173 Following should generate an error message for invalid mode 174 < DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO)174 <HOST>|E|psSphereGetOffset (FILE:LINENO) 175 175 Specified offset mode, 0x54321, is not supported. 176 < DATE><TIME>|<HOST>|I|testGetOffsetSphere176 <HOST>|I|testGetOffsetSphere 177 177 Following should generate an error message for invalid unit type 178 < DATE><TIME>|<HOST>|E|psSphereGetOffset (FILE:LINENO)178 <HOST>|E|psSphereGetOffset (FILE:LINENO) 179 179 Specified units, 0x54321, is not supported. 180 < DATE><TIME>|<HOST>|I|testGetOffsetSphere180 <HOST>|I|testGetOffsetSphere 181 181 Following should generate warning message 182 < DATE><TIME>|<HOST>|W|psSphereGetOffset182 <HOST>|W|psSphereGetOffset 183 183 WARNING: psDeproject(): position1->d is larger than 90 degrees. Returning NULL. 184 < DATE><TIME>|<HOST>|I|testGetOffsetSphere184 <HOST>|I|testGetOffsetSphere 185 185 Following should generate warning message 186 < DATE><TIME>|<HOST>|W|psSphereGetOffset186 <HOST>|W|psSphereGetOffset 187 187 WARNING: psDeproject(): position2->d is larger than 90 degrees. Returning NULL. 188 188
Note:
See TracChangeset
for help on using the changeset viewer.
