X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=example-codegen%2Fclient.cpp;fp=example-codegen%2Fclient.cpp;h=10d2e52d7d2d65144fa17e6a434f3ab0f36e7361;hp=6dee37eb7378fab8b6d358fc17374903322b724e;hb=71ae912ce0ade8f13cbffe0f105dad453f5e579f;hpb=4fdc0f8b8f2c34e8434625f2e85ff0af3981111f diff --git a/example-codegen/client.cpp b/example-codegen/client.cpp index 6dee37e..10d2e52 100644 --- a/example-codegen/client.cpp +++ b/example-codegen/client.cpp @@ -14,5 +14,9 @@ int main(int argc, char** argv) 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(10,20)) ) ) + ? EXIT_SUCCESS : EXIT_FAILURE; }