From b665563e2d256f7e4fb2494c209483c7b2490229 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Tue, 13 Feb 2018 20:45:34 +0100 Subject: graycode: add test for stream without sample rate Use a smaller input stream which lacks a samplerate spec. This results in output that lacks the timing information (motion speed), but step count and direction are identical to the other existing test. --- decoder/test/graycode/test.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoder/test/graycode/test.conf') diff --git a/decoder/test/graycode/test.conf b/decoder/test/graycode/test.conf index 8a4fe51..5ba0273 100644 --- a/decoder/test/graycode/test.conf +++ b/decoder/test/graycode/test.conf @@ -17,3 +17,8 @@ test rotary_sin protocol-decoder graycode channel d0=0 channel d1=1 input graycode/synthetic/rotary-sin.sr output graycode annotation match rotary_sin.output + +test graycode_ramp_no_samplerate + protocol-decoder graycode channel d0=0 channel d1=1 channel d2=2 channel d3=3 channel d4=4 channel d5=5 channel d6=6 channel d7=7 + input graycode/synthetic/graycode-ramp-no-samplerate.sr + output graycode annotation match graycode_ramp-no-samplerate.output -- cgit v1.2.3-54-g00ecf