From 42eeb8736a50f13a36cc5b40e9465af03b64b2af Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Wed, 2 May 2012 20:03:41 -0400 Subject: filter: fixed fft_filter tests. --- gr-filter/python/qa_fft_filter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gr-filter/python') diff --git a/gr-filter/python/qa_fft_filter.py b/gr-filter/python/qa_fft_filter.py index 87d64df36..eaef3156d 100755 --- a/gr-filter/python/qa_fft_filter.py +++ b/gr-filter/python/qa_fft_filter.py @@ -97,7 +97,7 @@ class test_fft_filter(gr_unittest.TestCase): taps = (1,) expected_result = tuple([complex(x) for x in (0,1,2,3,4,5,6,7)]) src = gr.vector_source_c(src_data) - op = gr.fft_filter_ccc(1, taps) + op = filter.fft_filter_ccc(1, taps) dst = gr.vector_sink_c() tb.connect(src, op, dst) tb.run() @@ -115,7 +115,7 @@ class test_fft_filter(gr_unittest.TestCase): nthreads = 2 expected_result = tuple([2 * complex(x) for x in (0,1,2,3,4,5,6,7)]) src = gr.vector_source_c(src_data) - op = gr.fft_filter_ccc(1, taps, nthreads) + op = filter.fft_filter_ccc(1, taps, nthreads) dst = gr.vector_sink_c() tb.connect(src, op, dst) tb.run() @@ -130,7 +130,7 @@ class test_fft_filter(gr_unittest.TestCase): taps = (2,) expected_result = tuple([2 * complex(x) for x in (0,1,2,3,4,5,6,7)]) src = gr.vector_source_c(src_data) - op = gr.fft_filter_ccc(1, taps) + op = filter.fft_filter_ccc(1, taps) dst = gr.vector_sink_c() tb.connect(src, op, dst) tb.run() @@ -172,7 +172,7 @@ class test_fft_filter(gr_unittest.TestCase): expected_result = reference_filter_ccc(dec, taps, src_data) src = gr.vector_source_c(src_data) - op = gr.fft_filter_ccc(dec, taps) + op = filter.fft_filter_ccc(dec, taps) dst = gr.vector_sink_c() tb = gr.top_block() tb.connect(src, op, dst) -- cgit