root/tests/datalink_test.cpp @ 290

Revision 288, 462 bytes (checked in by smidl, 16 years ago)

experiments

  • Property svn:eol-style set to native
Line 
1#include "../bdm/stat/libEF.h"
2using namespace bdm;
3
4int main() {
5        RV a = RV ( "{a }","2" );
6        RV b = RV ( "{b }" );
7        RV c = RV ( "{c }" );
8
9        datalink_m2m dl;dl.set_connection ( a,concat(b,c),concat(a,b), c );
10
11        vec val ( "1 1.5 2" );
12        vec cond ( "3" );
13
14        cout << "val: " << val  << endl;
15        cout << "cond: " << cond  << endl;
16
17        cout << "lo val: " << dl.pushdown ( val ) <<endl;
18        cout << "lo cond: " << dl.get_cond ( val,cond ) <<endl;
19
20        //getchar();
21        return 0;
22
23}
Note: See TracBrowser for help on using the browser.