diff options
Diffstat (limited to 'NT/src/rotor.cpp')
| -rw-r--r-- | NT/src/rotor.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/NT/src/rotor.cpp b/NT/src/rotor.cpp index 0c09b39..9a0bc5d 100644 --- a/NT/src/rotor.cpp +++ b/NT/src/rotor.cpp @@ -6,8 +6,10 @@ using namespace std; using namespace Rotor; int main(){ - //a_node a; - //map<string,string> settings={{"p1","1"}, {"p2","2"}, {"p3","3"}}; - //a.init(settings); - printf("hello, world\n"); + Rotor::time t; + multiply m; + map<string,string> settings={{"value","2"}}; + m.init(settings); + if (m.connect("inlet",&t)) printf("connected!\n"); + else printf("not connected...\n"); }
\ No newline at end of file |
