From 129ecfe26a857c2c66a2402c9c7364b309e9f1c0 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 15 Sep 2021 16:17:30 +0300 Subject: initial test file for wgcna --- tests/unit/computations/test_wgcna.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/unit/computations/test_wgcna.py (limited to 'tests/unit/computations') 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) -- cgit v1.2.3