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


Ignore:
Timestamp:
Aug 29, 2000, 6:14:59 PM (25 years ago)
Author:
ansari
Message:

Modifs programmes test - Reza 29/8/2000

File:
1 edited

Legend:

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

    r1082 r1161  
    5858     nt1.Fill(xnt); k++; }
    5959
     60 nt1.Info().Comment() = "NTuple de Test - Cree par tnt.cc";
     61 nt1.Info()["Version"] = SophyaVersion();
    6062 nt1.Show(cout);
    6163 nt1.Print(0, 5);
     
    8991DVList dvl;
    9092
    91 cout << "\n ======= test_dvl:  Testing DVList ======= " << endl;
     93cout << "\n ======= test_dvl:  Testing MuTyV ======= " << endl;
     94MuTyV zvs = " ( 1.41 -2.71) ";
     95MuTyV dvs = "434.898";
     96MuTyV fvu = 314.1596;
     97MuTyV ivu = 7654321;
     98cout << " float->string: fvu= " << fvu << " (string)fvu=" << (string)fvu << endl;
     99cout << " int->string: ivu= " << ivu << " (string)ivu=" << (string)ivu << endl;
     100cout << "String->complex<double>: zvs = " << zvs
     101     << " (complex<double>)zvs= " << (complex<double>)zvs << endl;
     102cout << "String->double: dvs = " << dvs
     103     << " (double)zvs= " << (double)dvs << endl;
     104
     105
     106cout << "\n\n ======= test_dvl:  Testing DVList ======= " << endl;
    92107dvl.SetI("Var XXX", 12345);
    93108dvl.SetI("IV1-80", 80);
     
    109124dvl.SetComment("IntegerValue", "This variable has a comment");
    110125dvl.Comment() = "This is a test DVL produced by the program tdvl.cc \n Using SOPHYA , Feb 2000";
     126
     127dvl["Sinf"] = "inf 0985";
    111128dvl.Print();
     129
    112130
    113131double d = dvl("DV2-4.5");
Note: See TracChangeset for help on using the changeset viewer.