• This project
    • Loading...
  • Sign in

2020-2-capstone-design1 / HCG_project

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • HCG_project
  • ..
  • tests
  • test_gamma.py
  • GyuhoLee's avatar
    [Add] Flask로 서버 구현 · 1a710e6c
    1a710e6c
    GyuhoLee authored 2020-12-06 18:35:53 +0900
test_gamma.py 258 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12
import numpy as np
import scipy.special as sc


class TestRgamma:

    def test_gh_11315(self):
        assert sc.rgamma(-35) == 0

    def test_rgamma_zeros(self):
        x = np.array([0, -10, -100, -1000, -10000])
        assert np.all(sc.rgamma(x) == 0)