Changeset 13623 for trunk/psLib/test/astro/tap_psCoord.c
- Timestamp:
- Jun 4, 2007, 3:10:22 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tap_psCoord.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tap_psCoord.c
r13084 r13623 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 5-01 00:08:52 $7 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-06-05 01:10:22 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 50 50 psPlaneTransform *myPT = psPlaneTransformAlloc(ORDER_X, ORDER_Y); 51 51 ok(myPT != NULL, "psPlaneTransformAlloc() returned non-NULL"); 52 skip_start(myPT == NULL, 6, "Skipping tests because psPlaneTransformAlloc() returned NULL");52 skip_start(myPT == NULL, 4, "Skipping tests because psPlaneTransformAlloc() returned NULL"); 53 53 ok(myPT->x->nX == ORDER_X, "psPlaneTransform->x->nX set correctly"); 54 54 ok(myPT->y->nX == ORDER_X, "psPlaneTransform->y->nX set correctly"); … … 64 64 65 65 myPT = psPlaneTransformAlloc(1, -1); 66 ok(myPT == NULL, "psPlaneTransformAlloc(1, -1 1) returned NULL");66 ok(myPT == NULL, "psPlaneTransformAlloc(1, -1) returned NULL"); 67 67 psFree(myPT); 68 68 … … 127 127 in->yErr = 0.0; 128 128 129 // XXX: psPlane *out = psPlaneTransformApply(out, pt, in); causes a seg-fault. Why? 129 // XXX: psPlane *out = psPlaneTransformApply(out, pt, in); causes a seg-fault. 130 // Why? 130 131 psPlane *out = psPlaneTransformApply(NULL, pt, in); 131 132 if(out == NULL) { … … 154 155 155 156 // psPlaneTransformApply should generate error message for NULL psPlaneTransform 156 if (1){157 { 157 158 psMemId id = psMemGetId(); 158 159 psPlane* in = psPlaneAlloc(); … … 165 166 166 167 // psPlaneTransformApply should generate error message for NULL x coeff psPlaneTransform 167 if (1){168 { 168 169 psMemId id = psMemGetId(); 169 170 psPlane *in = psPlaneAlloc(); … … 180 181 181 182 // psPlaneTransformApply Should generate error message for NULL y coeff psPlaneTransform"); 182 if (1){183 { 183 184 psMemId id = psMemGetId(); 184 185 psPlane* in = psPlaneAlloc(); … … 195 196 196 197 // psPlaneTransformApply() should generate error message for NULL psPlane"); 197 if (1){198 { 198 199 psMemId id = psMemGetId(); 199 200 psPlaneTransform* pt = psPlaneTransformAlloc(2,2);
Note:
See TracChangeset
for help on using the changeset viewer.
