diff options
Diffstat (limited to 'gr-blocks/python/blocks/qa_peak_detector.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_peak_detector.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/python/blocks/qa_peak_detector.py b/gr-blocks/python/blocks/qa_peak_detector.py index 4583bf17a9..fb7b16b4cc 100644 --- a/gr-blocks/python/blocks/qa_peak_detector.py +++ b/gr-blocks/python/blocks/qa_peak_detector.py @@ -25,8 +25,8 @@ class test_peak_detector(gr_unittest.TestCase): data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] - expected_result = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + expected_result = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] src = blocks.vector_source_f(data, False) regen = blocks.peak_detector_fb() @@ -46,8 +46,8 @@ class test_peak_detector(gr_unittest.TestCase): data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] - expected_result = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + expected_result = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] src = blocks.vector_source_i(data, False) regen = blocks.peak_detector_ib() @@ -67,8 +67,8 @@ class test_peak_detector(gr_unittest.TestCase): data = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0] - expected_result = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + expected_result = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] src = blocks.vector_source_s(data, False) regen = blocks.peak_detector_sb() |