class documentation

class TestIntegers: (source)

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): (source)

Undocumented

def test_bounds_checking_array(self, endpoint): (source)

Undocumented

def test_error_byteorder(self): (source)

Undocumented

def test_full_range(self, endpoint): (source)

Undocumented

def test_full_range_array(self, endpoint): (source)

Undocumented

def test_in_bounds_fuzz(self, endpoint): (source)

Undocumented

def test_int64_uint64_broadcast_exceptions(self, endpoint): (source)

Undocumented

def test_int64_uint64_corner_case(self, endpoint): (source)

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): (source)

Undocumented

def test_repeatability(self, endpoint): (source)

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): (source)

Undocumented

def test_repeatability_32bit_boundary_broadcasting(self): (source)

Undocumented

def test_repeatability_broadcasting(self, endpoint): (source)

Undocumented

def test_respect_dtype_array(self, endpoint): (source)

Undocumented

def test_respect_dtype_singleton(self, endpoint): (source)

Undocumented

def test_rng_zero_and_extremes(self, endpoint): (source)

Undocumented

def test_rng_zero_and_extremes_array(self, endpoint): (source)

Undocumented

def test_scalar_array_equiv(self, endpoint): (source)

Undocumented

def test_unsupported_type(self, endpoint): (source)

Undocumented

def test_zero_size(self, endpoint): (source)

Undocumented

Undocumented