summaryrefslogtreecommitdiff
path: root/tests/test_tools_3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tools_3.cc')
-rw-r--r--tests/test_tools_3.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_tools_3.cc b/tests/test_tools_3.cc
new file mode 100644
index 0000000..5762c90
--- /dev/null
+++ b/tests/test_tools_3.cc
@@ -0,0 +1,16 @@
+#include "simple_sink.hh"
+
+using namespace rtfl::tools;
+using namespace rtfl::tests;
+
+int main (int argc, char *argv[])
+{
+ BlockingLinesSource source (0);
+ for(int i = 0; i < 5; i++)
+ source.addTimeout(1 + i, 123 + i);
+
+ SimpleSink sink;
+ source.setup (&sink);
+
+ return 0;
+}