Functions | Variables
test_builtin_casters Namespace Reference

Functions

def test_bool_caster ()
 
def test_builtins_cast_return_none ()
 
def test_bytearray_to_string ()
 
def test_bytes_to_string ()
 
def test_complex_cast ()
 
def test_const_ref_caster ()
 
def test_int_convert ()
 
def test_int_long ()
 
def test_integer_casting ()
 
def test_none_deferred ()
 
def test_numpy_bool ()
 
def test_numpy_int_convert ()
 
def test_reference_wrapper ()
 
def test_simple_string ()
 
def test_single_char_arguments ()
 
def test_string_view (capture)
 
def test_tuple (doc)
 
def test_unicode_conversion ()
 
def test_void_caster ()
 
def test_void_caster_2 ()
 

Variables

 x
 

Function Documentation

◆ test_bool_caster()

def test_builtin_casters.test_bool_caster ( )
Test bool caster implicit conversions.

Definition at line 442 of file test_builtin_casters.py.

◆ test_builtins_cast_return_none()

def test_builtin_casters.test_builtins_cast_return_none ( )
Casters produced with PYBIND11_TYPE_CASTER() should convert nullptr to None

Definition at line 379 of file test_builtin_casters.py.

◆ test_bytearray_to_string()

def test_builtin_casters.test_bytearray_to_string ( )
Tests the ability to pass bytearray to C++ string-accepting functions

Definition at line 136 of file test_builtin_casters.py.

◆ test_bytes_to_string()

def test_builtin_casters.test_bytes_to_string ( )
Tests the ability to pass bytes to C++ string-accepting functions.  Note that this is
one-way: the only way to return bytes to Python is via the pybind11::bytes class.

Definition at line 122 of file test_builtin_casters.py.

◆ test_complex_cast()

def test_builtin_casters.test_complex_cast ( )
std::complex casts

Definition at line 436 of file test_builtin_casters.py.

◆ test_const_ref_caster()

def test_builtin_casters.test_const_ref_caster ( )
Verifies that const-ref is propagated through type_caster cast_op.
The returned ConstRefCasted type is a minimal type that is constructed to
reference the casting mode used.

Definition at line 511 of file test_builtin_casters.py.

◆ test_int_convert()

def test_builtin_casters.test_int_convert ( )

Definition at line 248 of file test_builtin_casters.py.

◆ test_int_long()

def test_builtin_casters.test_int_long ( )

Definition at line 501 of file test_builtin_casters.py.

◆ test_integer_casting()

def test_builtin_casters.test_integer_casting ( )
Issue #929 - out-of-range integer values shouldn't be accepted

Definition at line 225 of file test_builtin_casters.py.

◆ test_none_deferred()

def test_builtin_casters.test_none_deferred ( )
None passed as various argument types should defer to other overloads

Definition at line 389 of file test_builtin_casters.py.

◆ test_numpy_bool()

def test_builtin_casters.test_numpy_bool ( )

Definition at line 485 of file test_builtin_casters.py.

◆ test_numpy_int_convert()

def test_builtin_casters.test_numpy_int_convert ( )

Definition at line 319 of file test_builtin_casters.py.

◆ test_reference_wrapper()

def test_builtin_casters.test_reference_wrapper ( )
std::reference_wrapper for builtin and user types

Definition at line 403 of file test_builtin_casters.py.

◆ test_simple_string()

def test_builtin_casters.test_simple_string ( )

Definition at line 10 of file test_builtin_casters.py.

◆ test_single_char_arguments()

def test_builtin_casters.test_single_char_arguments ( )
Tests failures for passing invalid inputs to char-accepting functions

Definition at line 49 of file test_builtin_casters.py.

◆ test_string_view()

def test_builtin_casters.test_string_view (   capture)
Tests support for C++17 string_view arguments and return values

Definition at line 146 of file test_builtin_casters.py.

◆ test_tuple()

def test_builtin_casters.test_tuple (   doc)
std::pair <-> tuple & std::tuple <-> tuple

Definition at line 343 of file test_builtin_casters.py.

◆ test_unicode_conversion()

def test_builtin_casters.test_unicode_conversion ( )
Tests unicode conversion and error reporting.

Definition at line 14 of file test_builtin_casters.py.

◆ test_void_caster()

def test_builtin_casters.test_void_caster ( )

Definition at line 398 of file test_builtin_casters.py.

◆ test_void_caster_2()

def test_builtin_casters.test_void_caster_2 ( )

Definition at line 507 of file test_builtin_casters.py.

Variable Documentation

◆ x

test_builtin_casters.x

Definition at line 464 of file test_builtin_casters.py.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:31