test_std_pair.py
Go to the documentation of this file.
1 from std_pair import copy, passthrough, std_pair_to_tuple
2 
3 t = (1, 2.0)
4 assert std_pair_to_tuple(t) == t
5 assert copy(t) == t
6 assert passthrough(t) == t
copy
ReturnMatrix copy(const Eigen::MatrixBase< Matrix > &mat)
Definition: matrix.cpp:131
std_pair_to_tuple
bp::tuple std_pair_to_tuple(const std::pair< T1, T2 > &pair)
Definition: std_pair.cpp:10
passthrough
const std::pair< T1, T2 > & passthrough(const std::pair< T1, T2 > &pair)
Definition: std_pair.cpp:20


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45