]> sigrok.org Git - sigrok-test.git/commit
caliper: introduce tests (pos/neg, mm/inch, change)
authorGerhard Sittig <redacted>
Sat, 18 Jul 2020 19:48:02 +0000 (21:48 +0200)
committerGerhard Sittig <redacted>
Sat, 18 Jul 2020 19:48:02 +0000 (21:48 +0200)
commitcdb3d4b882b41bd6bf8904ad467772f234a724d9
tree37845a33fc582e0589698bba800e90648f5bfeb6
parent1b9e3b7d00f22a0d5da2fda2cdaf108be97d2c56
caliper: introduce tests (pos/neg, mm/inch, change)

Add tests for the caliper decoder. Cover positive and negative numbers,
automatic millimeter and inch detection, and omitted annotations when
values haven't changed.
decoder/test/caliper/caliper_neg_mm.output [new file with mode: 0644]
decoder/test/caliper/caliper_only_change.output [new file with mode: 0644]
decoder/test/caliper/caliper_pos_in.output [new file with mode: 0644]
decoder/test/caliper/caliper_pos_mm.output [new file with mode: 0644]
decoder/test/caliper/test.conf [new file with mode: 0644]