def METHOD_NAME(self):
    # Test for ticket #921
    assert_(np.all(np.random.hypergeometric(3, 18, 11, size=10) < 4))
    assert_(np.all(np.random.hypergeometric(18, 3, 11, size=10) > 0))
    # Test for ticket #5623
    args = [
        (2**20 - 2, 2**20 - 2, 2**20 - 2),  # Check for 32-bit systems
    ]
    is_64bits = sys.maxsize > 2**32
    if is_64bits and sys.platform != 'win32':
        # Check for 64-bit systems
        args.append((2**40 - 2, 2**40 - 2, 2**40 - 2))
    for arg in args:
        assert_(np.random.hypergeometric(*arg) > 0)