From 844f29f5b8b7229e8983b4a2dfc9a21ed8931811 Mon Sep 17 00:00:00 2001 From: Katja Date: Fri, 11 Nov 2011 16:00:56 +0000 Subject: add libdir 'testtools' with test abstractions to externals - abstraction 'unit-test-frame~.pd' - abstraction 'unit-test-frame.pd' - example patches svn path=/trunk/externals/testtools/; revision=15724 --- unit-test-frame-example.pd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 unit-test-frame-example.pd (limited to 'unit-test-frame-example.pd') diff --git a/unit-test-frame-example.pd b/unit-test-frame-example.pd new file mode 100644 index 0000000..ae658c1 --- /dev/null +++ b/unit-test-frame-example.pd @@ -0,0 +1,25 @@ +#N canvas 336 28 746 629 10; +#X obj 53 300 unit-test-frame; +#X obj 26 104 cnv 15 150 150 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 34 143 1 - reference name; +#X text 34 162 2 - test delay in ms; +#X text 33 123 test arguments (list):; +#X obj 53 197 loadbang; +#X obj 359 106 cnv 15 150 150 empty empty empty 20 12 0 14 -233017 +-66577 0; +#X obj 374 200 sqrt; +#X obj 374 156 / 512; +#X msg 53 226 unit-test-frame-example 0; +#X text 495 278 more info behind the question mark; +#X text 358 18 Optionally use index 0 - 511 to get a series of outputs +from the object or system under test.; +#X text 416 155 normalization; +#X text 394 112 system under test; +#X text 358 52 Normalizing the object output is recommendable \, as +it makes stddev more meaningful.; +#X connect 0 2 8 0; +#X connect 5 0 9 0; +#X connect 7 0 0 1; +#X connect 8 0 7 0; +#X connect 9 0 0 0; -- cgit v1.2.1