Piotr Krysik | 74c4f2c | 2016-07-15 13:12:46 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # -*- coding: utf-8 -*- |
| 3 | # @file |
| 4 | # @author Piotr Krysik <ptrkrysik@gmail.com> |
| 5 | # @section LICENSE |
| 6 | # |
| 7 | # Gr-gsm is free software; you can redistribute it and/or modify |
| 8 | # it under the terms of the GNU General Public License as published by |
| 9 | # the Free Software Foundation; either version 3, or (at your option) |
| 10 | # any later version. |
| 11 | # |
| 12 | # Gr-gsm is distributed in the hope that it will be useful, |
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | # GNU General Public License for more details. |
| 16 | # |
| 17 | # You should have received a copy of the GNU General Public License |
| 18 | # along with gr-gsm; see the file COPYING. If not, write to |
| 19 | # the Free Software Foundation, Inc., 51 Franklin Street, |
| 20 | # Boston, MA 02110-1301, USA. |
| 21 | # |
| 22 | # |
| 23 | |
| 24 | from gnuradio import gr, gr_unittest |
| 25 | from gnuradio import blocks |
| 26 | import grgsm_swig as grgsm |
| 27 | |
| 28 | class qa_controlled_fractional_resampler_cc (gr_unittest.TestCase): |
| 29 | |
| 30 | def setUp (self): |
| 31 | self.tb = gr.top_block () |
| 32 | |
| 33 | def tearDown (self): |
| 34 | self.tb = None |
| 35 | |
| 36 | def test_001_t (self): |
| 37 | # set up fg |
| 38 | self.tb.run () |
| 39 | # check data |
| 40 | |
| 41 | |
| 42 | if __name__ == '__main__': |
| 43 | gr_unittest.run(qa_controlled_fractional_resampler_cc, "qa_controlled_fractional_resampler_cc.xml") |