Changeset 177 for tests/merger_test.cpp

Show
Ignore:
Timestamp:
10/09/08 11:32:13 (16 years ago)
Author:
smidl
Message:

Simple merger test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/merger_test.cpp

    r176 r177  
    3535 
    3636        merger M ( A ); 
    37         cout << M.lognorm_merge(lW)<<endl; 
    38 //      eEmp res=M.merge(100); 
    39  
    40  
     37        vec m2 = M.lognorm_merge(lW); 
     38        M.set_parameters(31.0/30.0,10,100); 
     39        vec m1 = M.lognorm_merge(lW); 
     40        M.set_parameters(3.0,10,100); 
     41        vec m3 = M.lognorm_merge(lW); 
     42         
     43         
     44        it_file it("merger_test.it"); 
     45        it << Name("lf1") << l_f1; 
     46        it << Name("lf2") << l_f2; 
     47        it << Name("m1") << m1; 
     48        it << Name("m2") << m2; 
     49        it << Name("m3") << m3; 
    4150} 
    4251