cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Functions | Variables
test_buffers Namespace Reference

Functions

def test_from_python ()
 
def test_to_python ()
 
def test_inherited_protocol ()
 
def test_pointer_to_member_fn ()
 
def test_readonly_buffer ()
 
def test_selective_readonly_buffer ()
 
def test_ctypes_array_1d ()
 
def test_ctypes_array_2d ()
 
def test_ctypes_from_buffer ()
 

Variables

 np
 

Function Documentation

◆ test_ctypes_array_1d()

def test_buffers.test_ctypes_array_1d ( )

Definition at line 115 of file test_buffers.py.

◆ test_ctypes_array_2d()

def test_buffers.test_ctypes_array_2d ( )

Definition at line 130 of file test_buffers.py.

◆ test_ctypes_from_buffer()

def test_buffers.test_ctypes_from_buffer ( )

Definition at line 148 of file test_buffers.py.

◆ test_from_python()

def test_buffers.test_from_python ( )

Definition at line 16 of file test_buffers.py.

◆ test_inherited_protocol()

def test_buffers.test_inherited_protocol ( )
SquareMatrix is derived from Matrix and inherits the buffer protocol

Definition at line 74 of file test_buffers.py.

◆ test_pointer_to_member_fn()

def test_buffers.test_pointer_to_member_fn ( )

Definition at line 82 of file test_buffers.py.

◆ test_readonly_buffer()

def test_buffers.test_readonly_buffer ( )

Definition at line 90 of file test_buffers.py.

◆ test_selective_readonly_buffer()

def test_buffers.test_selective_readonly_buffer ( )

Definition at line 99 of file test_buffers.py.

◆ test_to_python()

def test_buffers.test_to_python ( )

Definition at line 40 of file test_buffers.py.

Variable Documentation

◆ np

test_buffers.np

Definition at line 13 of file test_buffers.py.