Changeset 886 for library/tests/testsuite
- Timestamp:
- 03/29/10 23:01:49 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/testsuite/epdf_test.cpp
r878 r886 36 36 g1->set_rv ( b ); 37 37 38 Array< const epdf*> coms ( 2 );39 coms ( 0 ) = g0 .get();40 coms ( 1 ) = g1 .get();38 Array<shared_ptr<epdf> > coms ( 2 ); 39 coms ( 0 ) = g0; 40 coms ( 1 ) = g1; 41 41 42 42 eprod p; … … 44 44 // pointers in the array to outlast the eprod instance... 45 45 p.set_parameters ( coms ); 46 p.validate(); 46 47 47 48 CHECK_EQUAL ( vec ( "1 10 10" ), p.mean() );