commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r5608 - gnuradio/branches/features/ofdm/receiver/gnura


From: eb
Subject: [Commit-gnuradio] r5608 - gnuradio/branches/features/ofdm/receiver/gnuradio-core/src/python/gnuradio/gr
Date: Sat, 2 Jun 2007 14:20:43 -0600 (MDT)

Author: eb
Date: 2007-06-02 14:20:42 -0600 (Sat, 02 Jun 2007)
New Revision: 5608

Modified:
   
gnuradio/branches/features/ofdm/receiver/gnuradio-core/src/python/gnuradio/gr/qa_skiphead.py
Log:
additional QA check

Modified: 
gnuradio/branches/features/ofdm/receiver/gnuradio-core/src/python/gnuradio/gr/qa_skiphead.py
===================================================================
--- 
gnuradio/branches/features/ofdm/receiver/gnuradio-core/src/python/gnuradio/gr/qa_skiphead.py
        2007-06-02 20:16:08 UTC (rev 5607)
+++ 
gnuradio/branches/features/ofdm/receiver/gnuradio-core/src/python/gnuradio/gr/qa_skiphead.py
        2007-06-02 20:20:42 UTC (rev 5608)
@@ -85,6 +85,17 @@
         self.fg.run ()
         dst_data = dst1.data ()
         self.assertEqual (expected_result, dst_data)
+
+    def test_skip_all(self):
+        skip_cnt = len(self.src_data)
+        expected_result = tuple(self.src_data[skip_cnt:])
+        src1 = gr.vector_source_i (self.src_data)
+        op = gr.skiphead (gr.sizeof_int, skip_cnt)
+        dst1 = gr.vector_sink_i ()
+        self.fg.connect (src1, op, dst1)
+        self.fg.run ()
+        dst_data = dst1.data ()
+        self.assertEqual (expected_result, dst_data)
     
 
 if __name__ == '__main__':





reply via email to

[Prev in Thread] Current Thread [Next in Thread]