1sample:
2  description: Use CMSIS DSP to calculate moving average
3  name: CMSIS DSP Moving Average
4tests:
5  sample.modules.cmsis_dsp.moving_average:
6    tags:
7      - samples
8    integration_platforms:
9      - qemu_cortex_m0
10      - native_sim
11    modules:
12      - cmsis-dsp
13    harness: console
14    harness_config:
15      type: multi_line
16      regex:
17        - "Input\\[00\\]:  0  0  0  0  0  0  0  0  0  0 | Output\\[00\\]:   0.00"
18        - "Input\\[01\\]:  0  0  0  0  0  0  0  0  0  1 | Output\\[01\\]:   0.10"
19        - "Input\\[02\\]:  0  0  0  0  0  0  0  0  1  2 | Output\\[02\\]:   0.30"
20        - "Input\\[03\\]:  0  0  0  0  0  0  0  1  2  3 | Output\\[03\\]:   0.60"
21        - "Input\\[04\\]:  0  0  0  0  0  0  1  2  3  4 | Output\\[04\\]:   1.00"
22        - "Input\\[05\\]:  0  0  0  0  0  1  2  3  4  5 | Output\\[05\\]:   1.50"
23        - "Input\\[06\\]:  0  0  0  0  1  2  3  4  5  6 | Output\\[06\\]:   2.10"
24        - "Input\\[07\\]:  0  0  0  1  2  3  4  5  6  7 | Output\\[07\\]:   2.80"
25        - "Input\\[08\\]:  0  0  1  2  3  4  5  6  7  8 | Output\\[08\\]:   3.60"
26        - "Input\\[09\\]:  0  1  2  3  4  5  6  7  8  9 | Output\\[09\\]:   4.50"
27        - "Input\\[10\\]:  1  2  3  4  5  6  7  8  9 10 | Output\\[10\\]:   5.50"
28        - "Input\\[11\\]:  2  3  4  5  6  7  8  9 10 11 | Output\\[11\\]:   6.50"
29        - "Input\\[12\\]:  3  4  5  6  7  8  9 10 11 12 | Output\\[12\\]:   7.50"
30        - "Input\\[13\\]:  4  5  6  7  8  9 10 11 12 13 | Output\\[13\\]:   8.50"
31        - "Input\\[14\\]:  5  6  7  8  9 10 11 12 13 14 | Output\\[14\\]:   9.50"
32        - "Input\\[15\\]:  6  7  8  9 10 11 12 13 14 15 | Output\\[15\\]:  10.50"
33        - "Input\\[16\\]:  7  8  9 10 11 12 13 14 15 16 | Output\\[16\\]:  11.50"
34        - "Input\\[17\\]:  8  9 10 11 12 13 14 15 16 17 | Output\\[17\\]:  12.50"
35        - "Input\\[18\\]:  9 10 11 12 13 14 15 16 17 18 | Output\\[18\\]:  13.50"
36        - "Input\\[19\\]: 10 11 12 13 14 15 16 17 18 19 | Output\\[19\\]:  14.50"
37        - "Input\\[20\\]: 11 12 13 14 15 16 17 18 19 20 | Output\\[20\\]:  15.50"
38        - "Input\\[21\\]: 12 13 14 15 16 17 18 19 20 21 | Output\\[21\\]:  16.50"
39        - "Input\\[22\\]: 13 14 15 16 17 18 19 20 21 22 | Output\\[22\\]:  17.50"
40        - "Input\\[23\\]: 14 15 16 17 18 19 20 21 22 23 | Output\\[23\\]:  18.50"
41        - "Input\\[24\\]: 15 16 17 18 19 20 21 22 23 24 | Output\\[24\\]:  19.50"
42        - "Input\\[25\\]: 16 17 18 19 20 21 22 23 24 25 | Output\\[25\\]:  20.50"
43        - "Input\\[26\\]: 17 18 19 20 21 22 23 24 25 26 | Output\\[26\\]:  21.50"
44        - "Input\\[27\\]: 18 19 20 21 22 23 24 25 26 27 | Output\\[27\\]:  22.50"
45        - "Input\\[28\\]: 19 20 21 22 23 24 25 26 27 28 | Output\\[28\\]:  23.50"
46        - "Input\\[29\\]: 20 21 22 23 24 25 26 27 28 29 | Output\\[29\\]:  24.50"
47        - "Input\\[30\\]: 21 22 23 24 25 26 27 28 29 30 | Output\\[30\\]:  25.50"
48        - "Input\\[31\\]: 22 23 24 25 26 27 28 29 30 31 | Output\\[31\\]:  26.50"
49