comparison 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
comparison
equal deleted inserted replaced
5:ea3082881bf8 6:769e306b7933
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