Mercurial > repos > yufei-luo > s_mart
annotate SMART/Java/Python/misc/test/Test_Utils.py @ 22:1e3f2c2657a3
Deleted selected files
| author | m-zytnicki | 
|---|---|
| date | Mon, 29 Apr 2013 03:26:07 -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 | 
