summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosh Blum2013-02-23 04:27:50 -0800
committerJosh Blum2013-02-23 04:27:50 -0800
commitc14550afef3d3c3086c92315ea16a7b5bfa8ffa6 (patch)
tree1f6c46f0687c68aa9fb9708fba3af176e77d9e3e /tests
parent49a1e13eb24fa9613585cf8c2b8bbe2bbfa994f4 (diff)
downloadsandhi-c14550afef3d3c3086c92315ea16a7b5bfa8ffa6.tar.gz
sandhi-c14550afef3d3c3086c92315ea16a7b5bfa8ffa6.tar.bz2
sandhi-c14550afef3d3c3086c92315ea16a7b5bfa8ffa6.zip
gras: forgot a few things from last commit
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt1
-rw-r--r--tests/io_sig_test.py21
2 files changed, 0 insertions, 22 deletions
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()