libt2n::socket_client_connection sc("./socket");
cmd_group_default_client cc(sc);
- return (cc.testfunc("hello")=="hello, testfunc() was here") ? EXIT_SUCCESS : EXIT_FAILURE;
+ return ( ( cc.testfunc("hello") == "hello, testfunc() was here" )
+ && ( cc.testfunc_ref("hello") == "hello, testfunc() was here" )
+ && ( cc.t2(10) == 10 )
+ && ( cc.t3(10, 20, "hello", std::pair<int, float>(10,20)) ) )
+ ? EXIT_SUCCESS : EXIT_FAILURE;
}