]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/seven_segment/test.conf
seven_segment: Add three test-cases
[sigrok-test.git] / decoder / test / seven_segment / test.conf
diff --git a/decoder/test/seven_segment/test.conf b/decoder/test/seven_segment/test.conf
new file mode 100644 (file)
index 0000000..70ff756
--- /dev/null
@@ -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