Mercurial > repos > yufei-luo > s_mart
annotate SMART/Java/Python/misc/test/Test_Utils.py @ 11:2da30502c2f1
Updated CompareOverlappingSmallQuery.xml
| author | m-zytnicki |
|---|---|
| date | Thu, 14 Mar 2013 05:37:08 -0400 |
| parents | 769e306b7933 |
| children |
| rev | line source |
|---|---|
| 6 | 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 |
