Mercurial > repos > yufei-luo > s_mart
view smart_toolShed/SMART/Java/Python/misc/test/Test_Utils.py @ 0:e0f8dcca02ed
Uploaded S-MART tool. A toolbox manages RNA-Seq and ChIP-Seq data.
author | yufei-luo |
---|---|
date | Thu, 17 Jan 2013 10:52:14 -0500 |
parents | |
children |
line wrap: on
line source
import unittest from SMART.Java.Python.misc import Utils class Test_Utils(unittest.TestCase): def testFisherExactPValue(self): self.assertAlmostEqual(Utils.fisherExactPValue(3, 1, 1, 3), 0.4857142857142842, 3) if __name__ == '__main__': unittest.main()