Mercurial > repos > yufei-luo > s_mart
view SMART/Java/Python/misc/test/Test_Utils.py @ 9:1eb55963fe39
Updated CompareOverlappingSmall*.py
author | m-zytnicki |
---|---|
date | Thu, 14 Mar 2013 05:23:05 -0400 |
parents | 769e306b7933 |
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()