aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-09-20 17:28:55 +0800
committerAaron LI <aaronly.me@outlook.com>2016-09-20 17:28:55 +0800
commit8e0aad8633ea3484a5a679fef6d04f7249f1400a (patch)
treee7d965f74d10674ec539531aed8feec68d5a17f4 /tests
parent393f6b3833e5ce1a197d507e628f7452de1b65a3 (diff)
downloadfg21sim-8e0aad8633ea3484a5a679fef6d04f7249f1400a.tar.bz2
Setup package structures
Credit: https://github.com/kennethreitz/samplemod TODO: Add the 'docs' part
Diffstat (limited to 'tests')
-rw-r--r--tests/__init__.py0
-rw-r--r--tests/context.py8
-rw-r--r--tests/test_advanced.py16
-rw-r--r--tests/test_basic.py16
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()