From f4ecdee8586164e2f6bdb16c2d3b6abfbe2d1a52 Mon Sep 17 00:00:00 2001 From: aTrotier Date: Fri, 15 Jan 2021 03:40:38 +0000 Subject: [PATCH] add unit test passthrough --- +gadgetron/+integration_test/ut_passthrough.m | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 +gadgetron/+integration_test/ut_passthrough.m diff --git a/+gadgetron/+integration_test/ut_passthrough.m b/+gadgetron/+integration_test/ut_passthrough.m new file mode 100644 index 0000000..56df53a --- /dev/null +++ b/+gadgetron/+integration_test/ut_passthrough.m @@ -0,0 +1,13 @@ +function ut_passthrough(connection) +disp('ut_passthrough') + + function send_data(connection) + disp("Sending data to client."); + connection.send(connection.next()); + end + +next = @() send_data(connection); + +tic, gadgetron.consume(next); toc +end +