]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/seven_segment/test.conf
seven_segment: expand the alphabet and show unknown characters
[sigrok-test.git] / decoder / test / seven_segment / test.conf
index 70ff756dada51bb3b58921fc1ca6f718979267e5..06d40fddbe987017afabbcc54696ad8a4b725be1 100644 (file)
@@ -12,3 +12,18 @@ 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
+
+test test_7_segment_slow_with_unknows
+       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 option show_unknown=yes
+       input display/seven_segment/test_7_segment_slow.sr
+       output seven_segment annotation match test_7_segment_slow_with_unknowns.output
+
+test test_7_segment_full_alphabet
+       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 option show_unknown=yes
+       input display/seven_segment/test_7_segment_all_alphabet.sr
+       output seven_segment annotation match test_7_segment_full_alphabet.output
+
+test test_7_segment_mystery_message
+       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 option show_unknown=yes
+       input display/seven_segment/mystery_message.sr
+       output seven_segment annotation match mystery_message.output