Changeset 1161 in Sophya for trunk/SophyaProg/Tests/tnt.cc
- Timestamp:
- Aug 29, 2000, 6:14:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/Tests/tnt.cc
r1082 r1161 58 58 nt1.Fill(xnt); k++; } 59 59 60 nt1.Info().Comment() = "NTuple de Test - Cree par tnt.cc"; 61 nt1.Info()["Version"] = SophyaVersion(); 60 62 nt1.Show(cout); 61 63 nt1.Print(0, 5); … … 89 91 DVList dvl; 90 92 91 cout << "\n ======= test_dvl: Testing DVList ======= " << endl; 93 cout << "\n ======= test_dvl: Testing MuTyV ======= " << endl; 94 MuTyV zvs = " ( 1.41 -2.71) "; 95 MuTyV dvs = "434.898"; 96 MuTyV fvu = 314.1596; 97 MuTyV ivu = 7654321; 98 cout << " float->string: fvu= " << fvu << " (string)fvu=" << (string)fvu << endl; 99 cout << " int->string: ivu= " << ivu << " (string)ivu=" << (string)ivu << endl; 100 cout << "String->complex<double>: zvs = " << zvs 101 << " (complex<double>)zvs= " << (complex<double>)zvs << endl; 102 cout << "String->double: dvs = " << dvs 103 << " (double)zvs= " << (double)dvs << endl; 104 105 106 cout << "\n\n ======= test_dvl: Testing DVList ======= " << endl; 92 107 dvl.SetI("Var XXX", 12345); 93 108 dvl.SetI("IV1-80", 80); … … 109 124 dvl.SetComment("IntegerValue", "This variable has a comment"); 110 125 dvl.Comment() = "This is a test DVL produced by the program tdvl.cc \n Using SOPHYA , Feb 2000"; 126 127 dvl["Sinf"] = "inf 0985"; 111 128 dvl.Print(); 129 112 130 113 131 double d = dvl("DV2-4.5");
Note:
See TracChangeset
for help on using the changeset viewer.