Changeset 42822 for trunk/psLib/test/astro/tap_psCoord.c
- Timestamp:
- May 8, 2025, 4:42:12 PM (15 months ago)
- Location:
- trunk/psLib/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test
- Property svn:ignore
-
old new 6 6 *.da 7 7 gmon.out 8 test.00.jpg 9 test.01.jpg 10 test.02.jpg 11 test.03.jpg 12 test.04.jpg 13 test.05.jpg 14 test.06.jpg 15 test.07.jpg 16 test.08.jpg 17 test.09.jpg 18 test.10.jpg 19 test.11.jpg 20 test.12.jpg 21 test.im.fits 22 test.mk.fits 23 test.sm1.fits 24 test.sm2.fits 25 test.sm3.fits 26 test.sm4.fits 27 tmpImages 28 tst_psTrace02_OUT
-
- Property svn:ignore
-
trunk/psLib/test/astro
- Property svn:ignore
-
trunk/psLib/test/astro/tap_psCoord.c
r13623 r42822 48 48 { 49 49 psMemId id = psMemGetId(); 50 psPlaneTransform *myPT = psPlaneTransformAlloc(ORDER_X, ORDER_Y );50 psPlaneTransform *myPT = psPlaneTransformAlloc(ORDER_X, ORDER_Y, PS_POLYNOMIAL_ORD); 51 51 ok(myPT != NULL, "psPlaneTransformAlloc() returned non-NULL"); 52 52 skip_start(myPT == NULL, 4, "Skipping tests because psPlaneTransformAlloc() returned NULL"); … … 59 59 // Attempt to specify negative x order and verify NULL returned and 60 60 // errror message generated 61 myPT = psPlaneTransformAlloc(-1, 1 );61 myPT = psPlaneTransformAlloc(-1, 1, PS_POLYNOMIAL_ORD); 62 62 ok(myPT == NULL, "psPlaneTransformAlloc(-1, 1) returned NULL"); 63 63 psFree(myPT); 64 64 65 myPT = psPlaneTransformAlloc(1, -1 );65 myPT = psPlaneTransformAlloc(1, -1, PS_POLYNOMIAL_ORD); 66 66 ok(myPT == NULL, "psPlaneTransformAlloc(1, -1) returned NULL"); 67 67 psFree(myPT); … … 110 110 ok(in != NULL, "psPlaneAlloc() returned non-NULL"); 111 111 skip_start(in == NULL, 2, "Skipping tests because psPlaneAlloc() returned NULL"); 112 psPlaneTransform* pt = psPlaneTransformAlloc(2, 2);112 psPlaneTransform* pt = psPlaneTransformAlloc(2, 2, PS_POLYNOMIAL_ORD); 113 113 ok(pt != NULL, "psPlaneTransformAlloc() returned non-NULL"); 114 114 skip_start(pt == NULL, 1, "Skipping tests because psPlaneTransformAlloc() returned NULL"); … … 169 169 psMemId id = psMemGetId(); 170 170 psPlane *in = psPlaneAlloc(); 171 psPlaneTransform *pt = psPlaneTransformAlloc(2, 2);171 psPlaneTransform *pt = psPlaneTransformAlloc(2, 2, PS_POLYNOMIAL_ORD); 172 172 psFree(pt->x); 173 173 pt->x = NULL; … … 184 184 psMemId id = psMemGetId(); 185 185 psPlane* in = psPlaneAlloc(); 186 psPlaneTransform* pt = psPlaneTransformAlloc(2,2 );186 psPlaneTransform* pt = psPlaneTransformAlloc(2,2, PS_POLYNOMIAL_ORD); 187 187 psFree(pt->y); 188 188 pt->y = NULL; … … 198 198 { 199 199 psMemId id = psMemGetId(); 200 psPlaneTransform* pt = psPlaneTransformAlloc(2,2 );200 psPlaneTransform* pt = psPlaneTransformAlloc(2,2, PS_POLYNOMIAL_ORD); 201 201 psPlane *tmpPL = psPlaneTransformApply(NULL, pt, NULL); 202 202 ok(tmpPL == NULL, "psPlaneTransformApply(NULL, pt, NULL) did not return NULL"); … … 314 314 { 315 315 psMemId id = psMemGetId(); 316 psPlaneTransform *trans = psPlaneTransformAlloc(1, 3 );316 psPlaneTransform *trans = psPlaneTransformAlloc(1, 3, PS_POLYNOMIAL_ORD); 317 317 psPixels *output = psPixelsTransform(NULL, NULL, trans); 318 318 ok(output == NULL, "psPixelsTransform(NULL, NULL, trans) returned NULL"); … … 342 342 input->data[1].x = 1.0; 343 343 input->data[1].y = 6.0; 344 psPlaneTransform *trans = psPlaneTransformAlloc(1, 3 );344 psPlaneTransform *trans = psPlaneTransformAlloc(1, 3, PS_POLYNOMIAL_ORD); 345 345 trans->x->coeff[0][0] = 0; 346 346 trans->x->coeff[1][0] = 1.0;
Note:
See TracChangeset
for help on using the changeset viewer.
