diff options
author | Josh Blum | 2013-02-23 04:27:50 -0800 |
---|---|---|
committer | Josh Blum | 2013-02-23 04:27:50 -0800 |
commit | c14550afef3d3c3086c92315ea16a7b5bfa8ffa6 (patch) | |
tree | 1f6c46f0687c68aa9fb9708fba3af176e77d9e3e | |
parent | 49a1e13eb24fa9613585cf8c2b8bbe2bbfa994f4 (diff) | |
download | sandhi-c14550afef3d3c3086c92315ea16a7b5bfa8ffa6.tar.gz sandhi-c14550afef3d3c3086c92315ea16a7b5bfa8ffa6.tar.bz2 sandhi-c14550afef3d3c3086c92315ea16a7b5bfa8ffa6.zip |
gras: forgot a few things from last commit
m--------- | gnuradio | 0 | ||||
-rw-r--r-- | python/gras/__init__.py | 1 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/io_sig_test.py | 21 |
4 files changed, 0 insertions, 23 deletions
diff --git a/gnuradio b/gnuradio -Subproject eb05abff6d3ba1f593e3f33fe2eb455d0824a7a +Subproject df9bcf4297f0da202d28f9cdf1efd5bf8167d71 diff --git a/python/gras/__init__.py b/python/gras/__init__.py index 2bdbc3a..33d2b00 100644 --- a/python/gras/__init__.py +++ b/python/gras/__init__.py @@ -3,7 +3,6 @@ from PMC import * from GRAS_SBuffer import SBufferConfig, SBuffer from GRAS_Tags import Tag, StreamTag, PacketMsg -from GRAS_IOSignature import IOSignature from GRAS_Block import Block from GRAS_HierBlock import HierBlock, TopBlock from GRAS_ThreadPool import ThreadPoolConfig, ThreadPool diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1915cfa..c1d219f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -11,4 +11,3 @@ GR_ADD_TEST(block_test ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/block_te GR_ADD_TEST(hier_block_test ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/hier_block_test.py) GR_ADD_TEST(thread_pool_test ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/thread_pool_test.py) GR_ADD_TEST(sbuffer_test ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/sbuffer_test.py) -GR_ADD_TEST(io_sig_test ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/io_sig_test.py) diff --git a/tests/io_sig_test.py b/tests/io_sig_test.py deleted file mode 100644 index 3cd90bf..0000000 --- a/tests/io_sig_test.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. - -import unittest -import gras - -class IOSigTest(unittest.TestCase): - - def test_io_sig(self): - io = gras.IOSignature() - self.assertEqual(len(io), 0) - - def test_io_sig_extend(self): - io = gras.IOSignature([5, 6, 7]) - self.assertEqual(len(io), 3) - self.assertEqual(io[0], 5) - self.assertEqual(io[1], 6) - self.assertEqual(io[2], 7) - self.assertEqual(io[3], 7) #auto extend - -if __name__ == '__main__': - unittest.main() |