From e23d40cb1206d49f708938f28fafbe6c0563559a Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 4 Mar 2016 02:51:29 +0100 Subject: rgb_led_ws281x: Add a few test-cases. --- decoder/test/rgb_led_ws281x/test.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 decoder/test/rgb_led_ws281x/test.conf (limited to 'decoder/test/rgb_led_ws281x/test.conf') diff --git a/decoder/test/rgb_led_ws281x/test.conf b/decoder/test/rgb_led_ws281x/test.conf new file mode 100644 index 0000000..82fbebb --- /dev/null +++ b/decoder/test/rgb_led_ws281x/test.conf @@ -0,0 +1,24 @@ +test exception_samplerate + protocol-decoder rgb_led_ws281x + input misc/no-samplerate.sr + output rgb_led_ws281x exception match SamplerateError + +test ws281x_4ch_5mhz_snippet_ch0 + protocol-decoder rgb_led_ws281x channel din=0 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch0.output + +test ws281x_4ch_5mhz_snippet_ch1 + protocol-decoder rgb_led_ws281x channel din=1 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch1.output + +test ws281x_4ch_5mhz_snippet_ch2 + protocol-decoder rgb_led_ws281x channel din=2 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch2.output + +test ws281x_4ch_5mhz_snippet_ch3 + protocol-decoder rgb_led_ws281x channel din=3 + input led/ws281x/ws281x_4ch_5mhz_snippet.sr + output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch3.output -- cgit v1.2.3-54-g00ecf