Changeset 2204 for trunk/psLib/test/astronomy/tst_psAstrometry.c
- Timestamp:
- Oct 26, 2004, 2:57:34 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psAstrometry.c (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psAstrometry.c
r2096 r2204 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-10- 13 23:58:20$7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2004-10-27 00:57:31 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 #include "pslib.h" 18 18 19 static inttestExposureAlloc(void);20 static inttestObservatoryAlloc(void);21 static inttestFPAAlloc(void);22 static inttestChipAlloc(void);23 static inttestCellAlloc(void);24 static inttestReadoutAlloc(void);19 static psS32 testExposureAlloc(void); 20 static psS32 testObservatoryAlloc(void); 21 static psS32 testFPAAlloc(void); 22 static psS32 testChipAlloc(void); 23 static psS32 testCellAlloc(void); 24 static psS32 testReadoutAlloc(void); 25 25 26 26 testDescription tests[] = { … … 34 34 }; 35 35 36 int main(intargc, char* argv[])36 psS32 main(psS32 argc, char* argv[]) 37 37 { 38 38 psLogSetLevel(PS_LOG_INFO); … … 41 41 } 42 42 43 static inttestExposureAlloc(void)43 static psS32 testExposureAlloc(void) 44 44 { 45 45 psTime* now = psTimeGetTime(PS_TIME_UTC); … … 123 123 } 124 124 125 static inttestObservatoryAlloc(void)125 static psS32 testObservatoryAlloc(void) 126 126 { 127 127 char* name = "The Kaiser Royal Observatory"; … … 173 173 } 174 174 175 static inttestFPAAlloc(void)175 static psS32 testFPAAlloc(void) 176 176 { 177 177 … … 220 220 } 221 221 222 for ( intlcv=0; lcv < 8; lcv++) {222 for (psS32 lcv=0; lcv < 8; lcv++) { 223 223 if (fpa->chips->data[lcv] != NULL) { 224 224 psLogMsg(__func__,PS_LOG_ERROR, … … 307 307 */ 308 308 309 for ( intlcv=0; lcv < 8; lcv++) {309 for (psS32 lcv=0; lcv < 8; lcv++) { 310 310 fpa->chips->data[lcv] = psAlloc(4); 311 311 } … … 329 329 } 330 330 331 static inttestChipAlloc(void)331 static psS32 testChipAlloc(void) 332 332 { 333 333 char* name = "The Kaiser Royal Observatory"; … … 372 372 } 373 373 374 for ( intlcv=0; lcv < 8; lcv++) {374 for (psS32 lcv=0; lcv < 8; lcv++) { 375 375 if (chip->cells->data[lcv] != NULL) { 376 376 psLogMsg(__func__,PS_LOG_ERROR, … … 477 477 } 478 478 479 static inttestCellAlloc(void)479 static psS32 testCellAlloc(void) 480 480 { 481 481 char* name = "The Kaiser Royal Observatory"; … … 522 522 } 523 523 524 for ( intlcv=0; lcv < 8; lcv++) {524 for (psS32 lcv=0; lcv < 8; lcv++) { 525 525 if (cell1->readouts->data[lcv] != NULL) { 526 526 psLogMsg(__func__,PS_LOG_ERROR, … … 641 641 } 642 642 643 static inttestReadoutAlloc(void)643 static psS32 testReadoutAlloc(void) 644 644 { 645 645 psImage* image = psImageAlloc(64,64,PS_TYPE_S8);
Note:
See TracChangeset
for help on using the changeset viewer.
