Changeset 21223 for trunk/psModules/test/objects/tap_pmMoments.c
- Timestamp:
- Jan 29, 2009, 10:46:54 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/objects/tap_pmMoments.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/objects/tap_pmMoments.c
r15726 r21223 18 18 ok(tmpMoments != NULL, "pmMomentsAlloc() returned a non-NULL pmMoments"); 19 19 skip_start(tmpMoments == NULL, 9, "Skipping tests because pmMomentsAlloc() returned NULL"); 20 ok(tmpMoments->x == 0.0, "pmMomentsAlloc set->x correctly"); 21 ok(tmpMoments->y == 0.0, "pmMomentsAlloc set->y correctly"); 22 ok(tmpMoments->Sx == 0.0, "pmMomentsAlloc set->Sx correctly"); 23 ok(tmpMoments->Sy == 0.0, "pmMomentsAlloc set->Sy correctly"); 24 ok(tmpMoments->Sxy == 0.0, "pmMomentsAlloc set->Sxy correctly"); 25 ok(tmpMoments->Sum == 0.0, "pmMomentsAlloc set->Sum correctly"); 26 ok(tmpMoments->Peak == 0.0, "pmMomentsAlloc set->Peak correctly"); 27 ok(tmpMoments->Sky == 0.0, "pmMomentsAlloc set->Sky correctly"); 20 ok(tmpMoments->Mx == 0.0, "pmMomentsAlloc set->x correctly"); 21 ok(tmpMoments->My == 0.0, "pmMomentsAlloc set->x correctly"); 22 ok(tmpMoments->Mxx == 0.0, "pmMomentsAlloc set->x correctly"); 23 ok(tmpMoments->Myy == 0.0, "pmMomentsAlloc set->x correctly"); 24 25 ok(tmpMoments->Mxxx == 0.0, "pmMomentsAlloc set->x correctly"); 26 ok(tmpMoments->Mxxy == 0.0, "pmMomentsAlloc set->x correctly"); 27 ok(tmpMoments->Mxyy == 0.0, "pmMomentsAlloc set->x correctly"); 28 ok(tmpMoments->Myyy == 0.0, "pmMomentsAlloc set->x correctly"); 29 30 ok(tmpMoments->Mxxxx == 0.0, "pmMomentsAlloc set->x correctly"); 31 ok(tmpMoments->Mxxxy == 0.0, "pmMomentsAlloc set->x correctly"); 32 ok(tmpMoments->Mxxyy == 0.0, "pmMomentsAlloc set->x correctly"); 33 ok(tmpMoments->Mxyyy == 0.0, "pmMomentsAlloc set->x correctly"); 34 ok(tmpMoments->Myyyy == 0.0, "pmMomentsAlloc set->x correctly"); 35 36 ok(tmpMoments->Sum == 0.0, "pmMomentsAlloc set->Sy correctly"); 37 ok(tmpMoments->Peak == 0.0, "pmMomentsAlloc set->Sxy correctly"); 38 ok(tmpMoments->Sky == 0.0, "pmMomentsAlloc set->Sum correctly"); 39 ok(tmpMoments->dSky == 0.0, "pmMomentsAlloc set->Peak correctly"); 40 ok(tmpMoments->SN == 0.0, "pmMomentsAlloc set->Sky correctly"); 28 41 ok(tmpMoments->nPixels == 0, "pmMomentsAlloc set->nPixels correctly"); 29 42 psFree(tmpMoments);
Note:
See TracChangeset
for help on using the changeset viewer.
