Changeset 5053
- Timestamp:
- Sep 14, 2005, 10:14:36 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psModules/test/tst_pmAstrometry.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/tst_pmAstrometry.c
r5052 r5053 1 1 /** @file tst_pmAstrometry.c 2 2 * 3 * @brief Contains the tests for pmAstrometry.[ch] 3 * @brief Contains the tests for pmAstrometry.[ch]. Only the pmxxxAlloc() 4 * and psFree() functionality are used here. 4 5 * 5 6 * @author George Gusciora, MHPCC 6 7 * 7 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-09-14 19:21:41 $ 9 * 10 * XXX: The meory dereferencing is not quite right with these functions. 11 * If I call the alloc functions with non-NULL pointers, there will be 12 * memory leaks. 8 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-09-14 20:14:36 $ 13 10 * 14 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 16 13 17 14 #include "config.h" 18 19 15 #include <math.h> 20 16 #include <string.h> 21 22 17 #include "psTest.h" 23 18 #include "pslib_strict.h" … … 109 104 static psS32 testChipAlloc(void) 110 105 { 111 // XXX: Do something more with these arguments.112 106 const psMetadata *camera = psMetadataAlloc(); 113 107 psDB *db = NULL; … … 193 187 static psS32 testCellAlloc(void) 194 188 { 195 // XXX: Do something more with these arguments.189 psDB *db = NULL; 196 190 const psMetadata *camera = psMetadataAlloc(); 197 psDB *db = NULL;198 191 pmFPA* fpa = pmFPAAlloc(camera, db); 199 192 if (fpa == NULL) { … … 289 282 static psS32 testReadoutAlloc(void) 290 283 { 291 // XXX: Do something more with these arguments.284 psDB *db = NULL; 292 285 const psMetadata *camera = psMetadataAlloc(); 293 psDB *db = NULL;294 286 pmFPA* fpa = pmFPAAlloc(camera, db); 295 287
Note:
See TracChangeset
for help on using the changeset viewer.
