Mercurial > repos > yufei-luo > s_mart
diff SMART/Java/Python/misc/test/Test_Utils.py @ 6:769e306b7933
Change the repository level.
author | yufei-luo |
---|---|
date | Fri, 18 Jan 2013 04:54:14 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SMART/Java/Python/misc/test/Test_Utils.py Fri Jan 18 04:54:14 2013 -0500 @@ -0,0 +1,13 @@ +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() +