aboutsummaryrefslogtreecommitdiff
path: root/desiredata/extra/pureunity/distributive-test.pd
blob: fd1e11d83cc8097793d32a44975eeeafd0f2aeac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#N canvas 665 86 471 430 10;
#X obj 40 15 inlet bang;
#X obj 37 160 /;
#X obj 37 179 t a a;
#X text 157 24 with tolerance 0;
#X obj 37 198 <= 0;
#X text 156 9 This test verifies that 3*(4+5)=3*4+3*5;
#X msg 40 34 3 4 5;
#X obj 40 82 unpack 0 0 0;
#X obj 37 255 outlet;
#X obj 37 141 * 2;
#X obj 37 103 distributor \$1 \$2 \$3;
#X obj 37 236 list append distributive \$1 \$2 \$3;
#X obj 37 217 pack 0 0 -1;
#X obj 37 122 norm.\$1;
#X obj 172 122 norm.\$1;
#X connect 0 0 6 0;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 2 1 12 1;
#X connect 4 0 12 0;
#X connect 6 0 7 0;
#X connect 7 0 10 0;
#X connect 7 1 10 1;
#X connect 7 2 10 2;
#X connect 9 0 1 0;
#X connect 10 0 13 0;
#X connect 10 1 14 0;
#X connect 11 0 8 0;
#X connect 12 0 11 0;
#X connect 13 0 9 0;
#X connect 14 0 1 1;