diff options
author | Alexander Kabui | 2021-09-15 16:17:30 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-09-15 16:17:30 +0300 |
commit | 129ecfe26a857c2c66a2402c9c7364b309e9f1c0 (patch) | |
tree | f27ceea3b6a1084da42c0c4a28af42317306cf2f | |
parent | 6494a093e6d96015f65416a8c3fde88a9a3c8c71 (diff) | |
download | genenetwork3-129ecfe26a857c2c66a2402c9c7364b309e9f1c0.tar.gz |
initial test file for wgcna
-rw-r--r-- | tests/unit/computations/test_wgcna.py | 15 |
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) |