aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kabui2021-09-15 16:17:30 +0300
committerAlexander Kabui2021-09-15 16:17:30 +0300
commit129ecfe26a857c2c66a2402c9c7364b309e9f1c0 (patch)
treef27ceea3b6a1084da42c0c4a28af42317306cf2f /tests
parent6494a093e6d96015f65416a8c3fde88a9a3c8c71 (diff)
downloadgenenetwork3-129ecfe26a857c2c66a2402c9c7364b309e9f1c0.tar.gz
initial test file for wgcna
Diffstat (limited to 'tests')
-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)