Changeset 573 in Sophya for trunk/SophyaProg/Tests/tnt.cc


Ignore:
Timestamp:
Nov 10, 1999, 5:30:50 PM (26 years ago)
Author:
ansari
Message:

ajout de tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/tnt.cc

    r491 r573  
    3030
    3131printf("Ecriture NTuple ds nt.ppf ... \n");
    32 {
    33 // nt1.Write("nt.ppf");  c'etait du PEIDA
    34 POutPersist s("nt.ppf");
    35 s << nt1 ;
    36 }
     32nt1.Write("nt.ppf");
    3733
    3834printf("Lecture NTuple (nt2) ds nt.ppf ... \n");
     
    4642printf("ReLecture NTuple (nt1) ds nt.ppf ... \n");
    4743
    48 {
    49 //  nt1.Read("nt.ppf");   c'etait du PEIDA !
    50 PInPersist s("nt.ppf");
    51 s >> nt1;
    52 }
    53 
     44nt1.Read("nt.ppf");
    5445nt1.Show(cout);
    5546nt1.Print(0, 5);
     
    5748nt1.Print(94, 5);
    5849
    59 printf("Creation/Lecture Lecture NTuple (nt3) ds nt.ppf ... \n");
     50printf("Creation/Lecture Lecture NTuple (nt1) ds nt.ppf ... \n");
    6051NTuple nt3;
    61 {
    62 //  nt3.Read("nt.ppf");   c'etait du PEIDA !
    63 PInPersist s("nt.ppf");
    64 s >> nt3;
    65 }
    66 
     52nt3.Read("nt.ppf");
    6753nt3.Show(cout);
    6854nt3.Print(0, 5);
Note: See TracChangeset for help on using the changeset viewer.