summaryrefslogtreecommitdiff
path: root/gr-pdu/python/pdu/qa_pdu_lambda.py
blob: f93475b8d9b287a9f704dec33d9cbe7c15b8cf5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 Jacob Gilbert.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
#


from gnuradio import gr, gr_unittest
from gnuradio import pdu

class qa_pdu_lambda(gr_unittest.TestCase):

    def setUp(self):
        self.tb = gr.top_block()

    def tearDown(self):
        self.tb = None

    def test_smoketest(self):
        # FIXME: Test will fail until you pass sensible arguments to the constructor
        instance = pdu.pdu_lambda(lambda uvec: uvec*10, False)

    def test_001_descriptive_test_name(self):
        # set up fg
        self.tb.run()
        # check data


if __name__ == '__main__':
    gr_unittest.run(qa_pdu_lambda)