Changeset 1080 for library/tests

Show
Ignore:
Timestamp:
06/10/10 22:13:50 (14 years ago)
Author:
smidl
Message:

fix tests

Location:
library/tests/testsuite
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/tests/testsuite/datasource_test.cpp

    r1072 r1080  
    6464        Array<shared_ptr<pdf> > Arr(2); 
    6565        Arr(0) = OM; 
    66         Arr(1)= IM; 
     66        Arr(1) = IM; 
    6767         
    68         shared_ptr<mprod> mp; 
     68        shared_ptr<mprod> mp=new mprod; 
    6969        mp->set_elements(Arr); 
     70        mp->validate(); 
    7071         
    7172        pds.ipdf=mp; 
     
    7879    } 
    7980 
    80     vec dt; 
     81    vec dt(4); 
    8182        pds.getdata ( dt ); 
    8283    CHECK_CLOSE ( vec ( "94.5, 94.5, 13.5, 9" ), dt, 1e-2 ); 
  • library/tests/testsuite/egiw.cfg

    r849 r1080  
    44  epdf = { 
    55    class = "egiw"; 
    6     V = ( "matrix", 2, 2, [ 13.1, 11.0, 11.0, 10.0 ] ); 
     6    fV = ( "matrix", 2, 2, [ 13.1, 11.0, 11.0, 10.0 ] ); 
    77    nu = 10.0; 
    88    dimx = 1; 
     
    2727  epdf = { 
    2828    class = "egiw"; 
    29     V = ( "matrix", 2, 2, [ 200.0, 80.0, 80.0, 40.0 ] ); 
     29    fV = ( "matrix", 2, 2, [ 200.0, 80.0, 80.0, 40.0 ] ); 
    3030    nu = 40.0; 
    3131    dimx = 1;