#NEWLINE# def test_read_coord_neighbours_write_to_field( self , backend , elements , dat_coords , dat_field , coords_map , field_map , dat_c , dat_f ) : #NEWLINE# #INDENT# kernel_wtf = 'void kernel_wtf(double* x[], double* y[]) {\n                                                               double sum = 0.0;\n                                                               for (int i=0; i<6; i++){\n                                                                    sum += x[i][0] + x[i][1];\n                                                               }\n                                                               y[0][0] = sum;\n                                                            }\n' #NEWLINE# op2 . par_loop ( op2 . Kernel ( kernel_wtf , 'kernel_wtf' ) , elements , dat_coords ( op2 . READ , coords_map ) , dat_f ( op2 . WRITE , field_map ) ) #NEWLINE# assert all ( ( dat_f . data >= 0 ) )