Changeset 2866 in Sophya for trunk/SophyaProg
- Timestamp:
- Jan 2, 2006, 2:50:35 PM (20 years ago)
- Location:
- trunk/SophyaProg/Tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tnfits.cc
r2845 r2866 14 14 #include "fitsblkrw.h" 15 15 #include "fitsarrhand.h" 16 #include "fiosinit.h" 16 17 17 18 /* Programme test des classes NFits */ … … 28 29 try { 29 30 SophyaInit(); 31 FitsIOServerInit(); 30 32 InitTim(); 31 33 { -
trunk/SophyaProg/Tests/tswfits.cc
r2858 r2866 10 10 // #include "swppfdtable.h" 11 11 #include "fitsswapper.h" 12 #include "fiosinit.h" 12 13 13 14 void test_fdtable() ; … … 16 17 { 17 18 SophyaInit(); 19 FitsIOServerInit(); 18 20 try { 19 21 /* … … 57 59 fiosc.CreateTable(BINARY_TBL, "rzbintbl", ttype, tform, tunit); 58 60 cout << " ---- Appel a FITSDataSwapper<double> --- " << endl; 59 FITSDataSwapper<double> swout( &fiosc, 1);61 FITSDataSwapper<double> swout(fiosc, 1); 60 62 SwSegDataBlock<double> swsd(swout, SWSEGSZ, 3); 61 63 // FITSDataSwapper<int_4> swout(&fiosc, 1); … … 76 78 FitsInOutFile si("swseg.fits", FitsInOutFile::Fits_RO); 77 79 si.MoveAbsToHDU(2); 78 FITSDataSwapper<double> swin( &si, 1);80 FITSDataSwapper<double> swin(si, 1); 79 81 SwSegDataBlock<double> swsd(swin, tags, SWSEGSZ); 80 82 cout <<"7/ Recopie ds SegDataBlock<float> depuis SwSegDataBlock<float> et print" << endl;
Note:
See TracChangeset
for help on using the changeset viewer.