#NEWLINE# def test_write_2d_vector_map( self , backend , node , vd2 , node2ele ) : #NEWLINE# #INDENT# k = '\n        void k(int *vd[2]) {\n        vd[0][0] = 2;\n        vd[0][1] = 3;\n        }\n        ' #NEWLINE# op2 . par_loop ( op2 . Kernel ( k , 'k' ) , node , vd2 ( op2 . WRITE , node2ele ) ) #NEWLINE# assert all ( ( vd2 . data [ : , 0 ] == 2 ) ) #NEWLINE# assert all ( ( k . data [ : , 1 ] == 3 ) )