def test_dense(): from pybind11_tests import dense_r, dense_c, dense_passthrough_r, dense_passthrough_c assert_equal_ref(dense_r()) assert_equal_ref(dense_c()) assert_equal_ref(dense_passthrough_r(dense_r())) assert_equal_ref(dense_passthrough_c(dense_c())) assert_equal_ref(dense_passthrough_r(dense_c())) assert_equal_ref(dense_passthrough_c(dense_r()))
def test_dense(): from pybind11_tests import dense_r, dense_c, dense_copy_r, dense_copy_c assert_equal_ref(dense_r()) assert_equal_ref(dense_c()) assert_equal_ref(dense_copy_r(dense_r())) assert_equal_ref(dense_copy_c(dense_c())) assert_equal_ref(dense_copy_r(dense_c())) assert_equal_ref(dense_copy_c(dense_r()))