diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/__init__.py | 0 | ||||
-rw-r--r-- | tests/context.py | 8 | ||||
-rw-r--r-- | tests/test_advanced.py | 16 | ||||
-rw-r--r-- | tests/test_basic.py | 16 |
4 files changed, 40 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/__init__.py diff --git a/tests/context.py b/tests/context.py new file mode 100644 index 0000000..352a47b --- /dev/null +++ b/tests/context.py @@ -0,0 +1,8 @@ +# -*- coding: utf-8 -*- + +import sys +import os + +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) + +import fg21sim diff --git a/tests/test_advanced.py b/tests/test_advanced.py new file mode 100644 index 0000000..1ae151c --- /dev/null +++ b/tests/test_advanced.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- + +from .context import fg21sim + +import unittest + + +class AdvancedTestSuite(unittest.TestCase): + """Advanced test cases.""" + + def test_thoughts(self): + sample.hmm() + + +if __name__ == '__main__': + unittest.main() diff --git a/tests/test_basic.py b/tests/test_basic.py new file mode 100644 index 0000000..ea50cf3 --- /dev/null +++ b/tests/test_basic.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- + +from .context import fg21sim + +import unittest + + +class BasicTestSuite(unittest.TestCase): + """Basic test cases.""" + + def test_absolute_truth_and_meaning(self): + assert True + + +if __name__ == '__main__': + unittest.main() |