view 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 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()