IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2005, 10:14:36 AM (21 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/tst_pmAstrometry.c

    r5052 r5053  
    11/** @file  tst_pmAstrometry.c
    22 *
    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.
    45 *
    56 *  @author George Gusciora, MHPCC
    67 *
    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 $
    1310 *
    1411 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    1613
    1714#include "config.h"
    18 
    1915#include <math.h>
    2016#include <string.h>
    21 
    2217#include "psTest.h"
    2318#include "pslib_strict.h"
     
    109104static psS32 testChipAlloc(void)
    110105{
    111     // XXX: Do something more with these arguments.
    112106    const psMetadata *camera = psMetadataAlloc();
    113107    psDB *db = NULL;
     
    193187static psS32 testCellAlloc(void)
    194188{
    195     // XXX: Do something more with these arguments.
     189    psDB *db = NULL;
    196190    const psMetadata *camera = psMetadataAlloc();
    197     psDB *db = NULL;
    198191    pmFPA* fpa = pmFPAAlloc(camera, db);
    199192    if (fpa == NULL) {
     
    289282static psS32 testReadoutAlloc(void)
    290283{
    291     // XXX: Do something more with these arguments.
     284    psDB *db = NULL;
    292285    const psMetadata *camera = psMetadataAlloc();
    293     psDB *db = NULL;
    294286    pmFPA* fpa = pmFPAAlloc(camera, db);
    295287
Note: See TracChangeset for help on using the changeset viewer.