class documentation

class TestFromCTypes:

View In Hierarchy

Undocumented

Static Method check Undocumented
Method test​_array Undocumented
Method test​_big​_endian​_structure Undocumented
Method test​_big​_endian​_structure​_packed Undocumented
Method test​_bit​_fields Undocumented
Method test​_large​_packed​_structure Undocumented
Method test​_little​_endian​_structure Undocumented
Method test​_little​_endian​_structure​_packed Undocumented
Method test​_packed​_structure Undocumented
Method test​_padded​_structure Undocumented
Method test​_pairs Check that np.dtype('x,y') matches [np.dtype('x'), np.dtype('y')] Example: np.dtype('d,I') -> dtype([('f0', '<f8'), ('f1', '<u4')])
Method test​_pointer Undocumented
Method test​_simple​_endian​_types Undocumented
Method test​_union Undocumented
Method test​_union​_packed Undocumented
Method test​_union​_with​_struct​_packed Undocumented
Method test​_void​_pointer Undocumented
Class Variable all​_pairs Undocumented
Class Variable all​_types Undocumented
@staticmethod
def check(ctype, dtype):

Undocumented

def test_array(self):

Undocumented

def test_big_endian_structure(self):

Undocumented

def test_big_endian_structure_packed(self):

Undocumented

def test_bit_fields(self):

Undocumented

def test_large_packed_structure(self):

Undocumented

def test_little_endian_structure(self):

Undocumented

def test_little_endian_structure_packed(self):

Undocumented

def test_packed_structure(self):

Undocumented

def test_padded_structure(self):

Undocumented

@pytest.mark.parametrize('pair', all_pairs)
def test_pairs(self, pair):
Check that np.dtype('x,y') matches [np.dtype('x'), np.dtype('y')] Example: np.dtype('d,I') -> dtype([('f0', '<f8'), ('f1', '<u4')])
def test_pointer(self):

Undocumented

def test_simple_endian_types(self):

Undocumented

def test_union(self):

Undocumented

def test_union_packed(self):

Undocumented

def test_union_with_struct_packed(self):

Undocumented

def test_void_pointer(self):

Undocumented

all_pairs =

Undocumented

all_types =

Undocumented