aboutsummaryrefslogtreecommitdiff
path: root/generics/commutative-test.pd
blob: 54153e7fc8b78eda8c2c181634f640c827bc03cd (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
33
34
35
#N canvas 671 304 452 362 10;
#X obj 40 15 inlet bang;
#X obj 40 129 unpack 0 0;
#X obj 40 53 t a a;
#X obj 70 72 +;
#X obj 70 91 / 2;
#X obj 33 172 abs;
#X obj 70 110 abs;
#X obj 33 191 /;
#X obj 33 153 commutator +;
#X msg 40 34 1 3;
#X text 216 9 This test verifies that 1+3=3+1;
#X obj 33 210 t a a;
#X obj 33 248 pack 0 0;
#X obj 33 286 outlet;
#X text 217 24 with tolerance 0;
#X obj 33 229 <= 0;
#X msg 33 267 list commutative1 \$1 \$2 -;
#X connect 0 0 9 0;
#X connect 1 0 8 0;
#X connect 1 1 8 1;
#X connect 2 0 1 0;
#X connect 2 1 3 0;
#X connect 3 0 4 0;
#X connect 4 0 6 0;
#X connect 5 0 7 0;
#X connect 6 0 7 1;
#X connect 7 0 11 0;
#X connect 8 0 5 0;
#X connect 9 0 2 0;
#X connect 11 0 15 0;
#X connect 11 1 12 1;
#X connect 12 0 16 0;
#X connect 15 0 12 0;
#X connect 16 0 13 0;