aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/computations/test_wgcna.py
blob: 1ce69a1c1a41e7b36ad3ca4f1f70fac161e18345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)