Functions | Variables
test_builtin_casters Namespace Reference

Functions

def test_bool_caster ()
 
def test_builtins_cast_return_none ()
 
def test_bytes_to_string ()
 
def test_complex_cast ()
 
def test_int_long ()
 
def test_integer_casting ()
 
def test_none_deferred ()
 
def test_numpy_bool ()
 
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

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

Definition at line 319 of file test_builtin_casters.py.

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

Definition at line 260 of file test_builtin_casters.py.

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 116 of file test_builtin_casters.py.

def test_builtin_casters.test_complex_cast ( )
std::complex casts

Definition at line 313 of file test_builtin_casters.py.

def test_builtin_casters.test_int_long ( )
In Python 2, a C++ int should return a Python int rather than long
if possible: longs are not always accepted where ints are used (such
as the argument to sys.exit()). A C++ long long is always a Python
long.

Definition at line 378 of file test_builtin_casters.py.

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

Definition at line 193 of file test_builtin_casters.py.

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

Definition at line 270 of file test_builtin_casters.py.

def test_builtin_casters.test_numpy_bool ( )

Definition at line 362 of file test_builtin_casters.py.

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

Definition at line 284 of file test_builtin_casters.py.

def test_builtin_casters.test_simple_string ( )

Definition at line 10 of file test_builtin_casters.py.

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.

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

Definition at line 136 of file test_builtin_casters.py.

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

Definition at line 230 of file test_builtin_casters.py.

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

Definition at line 14 of file test_builtin_casters.py.

def test_builtin_casters.test_void_caster ( )

Definition at line 279 of file test_builtin_casters.py.

def test_builtin_casters.test_void_caster_2 ( )

Definition at line 391 of file test_builtin_casters.py.

Variable Documentation

test_builtin_casters.x

Definition at line 341 of file test_builtin_casters.py.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:59:21