Esempio n. 1
0
 def testLnGamma(self):
     self.assertRaises(ValueError, chi2._ln_gamma_function, -1)
     self.assertAlmostEqual(chi2._ln_gamma_function(10), 12.80183,
                            places=5)
Esempio n. 2
0
 def testLnGamma(self):
     self.assertRaises(ValueError, chi2._ln_gamma_function, -1)
     self.assertAlmostEqual(chi2._ln_gamma_function(10), 12.80183, places=5)