diff options
author | Tom Rondeau | 2012-02-16 14:32:37 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-02-16 14:33:14 -0500 |
commit | 7fce7e3b576b7775923d81a9048b8b6196fb4e13 (patch) | |
tree | 50857c36f0a8076aa2c00553e08466df2006563b /gnuradio-core/src | |
parent | 031c3410bcf43ccce6cc2a52f45cc359914c305e (diff) | |
download | gnuradio-7fce7e3b576b7775923d81a9048b8b6196fb4e13.tar.gz gnuradio-7fce7e3b576b7775923d81a9048b8b6196fb4e13.tar.bz2 gnuradio-7fce7e3b576b7775923d81a9048b8b6196fb4e13.zip |
core: core: change to the delay QA code.
The full vector is received because of the switch to a gr_block, so we exted the expected_data vector; otherwise, the results are the same
Diffstat (limited to 'gnuradio-core/src')
-rwxr-xr-x | gnuradio-core/src/python/gnuradio/gr/qa_delay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_delay.py b/gnuradio-core/src/python/gnuradio/gr/qa_delay.py index 7cad0ae72..114e50108 100755 --- a/gnuradio-core/src/python/gnuradio/gr/qa_delay.py +++ b/gnuradio-core/src/python/gnuradio/gr/qa_delay.py @@ -50,7 +50,7 @@ class test_delay (gr_unittest.TestCase): delta_t = 10 tb = self.tb src_data = [float(x) for x in range(0, 100)] - expected_result = tuple(delta_t*[0.0] + src_data[0:-delta_t]) + expected_result = tuple(delta_t*[0.0] + src_data) src = gr.vector_source_f(src_data) op = gr.delay(gr.sizeof_float, delta_t) |