def test_sparse(): assert_sparse_equal_ref(m.sparse_r()) assert_sparse_equal_ref(m.sparse_c()) assert_sparse_equal_ref(m.sparse_copy_r(m.sparse_r())) assert_sparse_equal_ref(m.sparse_copy_c(m.sparse_c())) assert_sparse_equal_ref(m.sparse_copy_r(m.sparse_c())) assert_sparse_equal_ref(m.sparse_copy_c(m.sparse_r()))