diff options
Diffstat (limited to 'gnuradio-core/src/python')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py b/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py index 684210a08..12f4be589 100644 --- a/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py +++ b/gnuradio-core/src/python/gnuradio/gr/qa_vector_map.py @@ -26,7 +26,7 @@ import math class test_vector_map(gr_unittest.TestCase): def setUp (self): - self.tb = gr.top_block () + self.tb = gr.top_block() def tearDown (self): self.tb = None @@ -72,12 +72,14 @@ class test_vector_map(gr_unittest.TestCase): # Takes 3 streams (a, b and c) # Outputs 2 streams. # First (d) is interleaving of a and b. - # Second (e) is interleaving of a and b and c. c is taken in chunks of 2 which are reversed. + # Second (e) is interleaving of a and b and c. c is taken in + # chunks of 2 which are reversed. A = (1, 2, 3, 4, 5) B = (11, 12, 13, 14, 15) C = (99, 98, 97, 96, 95, 94, 93, 92, 91, 90) expected_D = (1, 11, 2, 12, 3, 13, 4, 14, 5, 15) - expected_E = (1, 11, 98, 99, 2, 12, 96, 97, 3, 13, 94, 95, 4, 14, 92, 93, 5, 15, 90, 91) + expected_E = (1, 11, 98, 99, 2, 12, 96, 97, 3, 13, 94, 95, + 4, 14, 92, 93, 5, 15, 90, 91) mapping = [[(0, 0), (1, 0)], # mapping to produce D [(0, 0), (1, 0), (2, 1), (2, 0)], # mapping to produce E ] |