def test_gamma(self): # Assert complete gamma function. v = metrics.gamma(0.5) self.assertAlmostEqual(v, math.sqrt(math.pi), places=4) print("pattern.metrics.gamma()")