Mercurial > repos > yufei-luo > s_mart
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e0f8dcca02ed |
---|---|
1 import unittest | |
2 from SMART.Java.Python.misc import Utils | |
3 | |
4 | |
5 class Test_Utils(unittest.TestCase): | |
6 | |
7 def testFisherExactPValue(self): | |
8 self.assertAlmostEqual(Utils.fisherExactPValue(3, 1, 1, 3), 0.4857142857142842, 3) | |
9 | |
10 | |
11 if __name__ == '__main__': | |
12 unittest.main() | |
13 |