class documentation

class TestIntegers:

View In Hierarchy

Undocumented

Method test​_bounds​_checking Undocumented
Method test​_bounds​_checking​_array Undocumented
Method test​_error​_byteorder Undocumented
Method test​_full​_range Undocumented
Method test​_full​_range​_array Undocumented
Method test​_in​_bounds​_fuzz Undocumented
Method test​_int64​_uint64​_broadcast​_exceptions Undocumented
Method test​_int64​_uint64​_corner​_case Undocumented
Method test​_integers​_small​_dtype​_chisquared Undocumented
Method test​_repeatability Undocumented
Method test​_repeatability​_32bit​_boundary Undocumented
Method test​_repeatability​_32bit​_boundary​_broadcasting Undocumented
Method test​_repeatability​_broadcasting Undocumented
Method test​_respect​_dtype​_array Undocumented
Method test​_respect​_dtype​_singleton Undocumented
Method test​_rng​_zero​_and​_extremes Undocumented
Method test​_rng​_zero​_and​_extremes​_array Undocumented
Method test​_scalar​_array​_equiv Undocumented
Method test​_unsupported​_type Undocumented
Method test​_zero​_size Undocumented
Class Variable itype Undocumented
def test_bounds_checking(self, endpoint):

Undocumented

def test_bounds_checking_array(self, endpoint):

Undocumented

def test_error_byteorder(self):

Undocumented

def test_full_range(self, endpoint):

Undocumented

def test_full_range_array(self, endpoint):

Undocumented

def test_in_bounds_fuzz(self, endpoint):

Undocumented

def test_int64_uint64_broadcast_exceptions(self, endpoint):

Undocumented

def test_int64_uint64_corner_case(self, endpoint):

Undocumented

@pytest.mark.slow
@pytest.mark.parametrize('sample_size,high,dtype,chi2max', [(5000000, 5, np.int8, 125.0), (5000000, 7, np.uint8, 150.0), (10000000, 2500, np.int16, 3300.0), (50000000, 5000, np.uint16, 6500.0)])
def test_integers_small_dtype_chisquared(self, sample_size, high, dtype, chi2max):

Undocumented

def test_repeatability(self, endpoint):

Undocumented

@pytest.mark.parametrize('bound, expected', [(2**32-1, np.array([517043486, 1364798665, 1733884389, 1353720612, 3769704066, 1170797179, 4108474671])), (2**32, np.array([517043487, 1364798666, 1733884390, 1353720613, 3769704067, 1170797180, 4108474672])), (2**32+1, np.array([517043487, 1733884390, 3769704068, 4108474673, 1831631863, 1215661561, 3869512430]))])
def test_repeatability_32bit_boundary(self, bound, expected):

Undocumented

def test_repeatability_32bit_boundary_broadcasting(self):

Undocumented

def test_repeatability_broadcasting(self, endpoint):

Undocumented

def test_respect_dtype_array(self, endpoint):

Undocumented

def test_respect_dtype_singleton(self, endpoint):

Undocumented

def test_rng_zero_and_extremes(self, endpoint):

Undocumented

def test_rng_zero_and_extremes_array(self, endpoint):

Undocumented

def test_scalar_array_equiv(self, endpoint):

Undocumented

def test_unsupported_type(self, endpoint):

Undocumented

def test_zero_size(self, endpoint):

Undocumented

itype =

Undocumented