aboutsummaryrefslogtreecommitdiff
path: root/tests/basic_input_helper.tcl
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2011-11-17 20:17:38 +0000
committermescalinum <mescalinum@users.sourceforge.net>2011-11-17 20:17:38 +0000
commit3870003b99d8d45c86a77f4cf25e477e2cc2ea04 (patch)
treef704a027a0f35b4e7ccb427cde14294a7e68b464 /tests/basic_input_helper.tcl
parent6e70f33a440fe6c7420c7406af83981be8691ef7 (diff)
add basic input test
svn path=/trunk/externals/loaders/tclpd/; revision=15790
Diffstat (limited to 'tests/basic_input_helper.tcl')
-rw-r--r--tests/basic_input_helper.tcl24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/basic_input_helper.tcl b/tests/basic_input_helper.tcl
new file mode 100644
index 0000000..a5e3b52
--- /dev/null
+++ b/tests/basic_input_helper.tcl
@@ -0,0 +1,24 @@
+package require Tclpd 0.3.0
+package require TclpdLib 0.20
+
+proc basic_input_helper::constructor {self args} {
+ pd::add_outlet $self list
+}
+
+proc basic_input_helper::0_float {self args} {
+ pd::outlet $self 0 symbol float
+}
+
+proc basic_input_helper::0_symbol {self args} {
+ pd::outlet $self 0 symbol symbol
+}
+
+proc basic_input_helper::0_list {self args} {
+ pd::outlet $self 0 symbol list
+}
+
+proc basic_input_helper::0_anything {self args} {
+ pd::outlet $self 0 symbol anything
+}
+
+pd::class basic_input_helper