summaryrefslogtreecommitdiff
path: root/decoder/test/seven_segment/test.conf
diff options
context:
space:
mode:
authorBenedikt Otto <benedikt_o@web.de>2019-10-12 19:56:39 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-07 00:09:24 +0100
commita79c93a2175498100709b027973f681ef88b1301 (patch)
tree2dd70cd769d5395558258c8e9b2d6ec29f7c6b69 /decoder/test/seven_segment/test.conf
parent26bccd011aa20253cbc10810c71c4d32bad77165 (diff)
downloadsigrok-test-a79c93a2175498100709b027973f681ef88b1301.tar.gz
sigrok-test-a79c93a2175498100709b027973f681ef88b1301.zip
seven_segment: Add three test-cases
Diffstat (limited to 'decoder/test/seven_segment/test.conf')
-rw-r--r--decoder/test/seven_segment/test.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/decoder/test/seven_segment/test.conf b/decoder/test/seven_segment/test.conf
new file mode 100644
index 0000000..70ff756
--- /dev/null
+++ b/decoder/test/seven_segment/test.conf
@@ -0,0 +1,14 @@
+test test_7_segment_0-9
+ protocol-decoder seven_segment channel a=0 channel b=1 channel c=2 channel d=3 channel e=4 channel f=5 channel g=6 channel dp=7
+ input display/seven_segment/test_7_segment_0-9.sr
+ output seven_segment annotation match test_7_segment_0-9.output
+
+test test_7_segment_0-F
+ protocol-decoder seven_segment channel a=0 channel b=1 channel c=2 channel d=3 channel e=4 channel f=5 channel g=6 channel dp=7
+ input display/seven_segment/test_7_segment_0-F.sr
+ output seven_segment annotation match test_7_segment_0-F.output
+
+test test_7_segment_slow
+ protocol-decoder seven_segment channel a=0 channel b=1 channel c=2 channel d=3 channel e=4 channel f=5 channel g=6 channel dp=7 option polarity=common-anode
+ input display/seven_segment/test_7_segment_slow.sr
+ output seven_segment annotation match test_7_segment_slow.output