aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/computations
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/computations')
-rw-r--r--tests/unit/computations/test_wgcna.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/unit/computations/test_wgcna.py b/tests/unit/computations/test_wgcna.py
new file mode 100644
index 0000000..1ce69a1
--- /dev/null
+++ b/tests/unit/computations/test_wgcna.py
@@ -0,0 +1,15 @@
+"""module contains python code for wgcna"""
+from unittest import TestCase
+
+
+def compute_sum(rhs_val, lhs_val):
+ """function to compute sum of two numbers"""
+ return rhs_val+lhs_val
+
+
+class TestWgcna(TestCase):
+ """test class for wgcna"""
+
+ def test_compute_sum(self):
+ """test for compute sum function"""
+ self.assertEqual(compute_sum(1, 2), 3)