Skip to content

Commit

Permalink
now reading and checking data
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Jul 22, 2020
1 parent aee02f3 commit 3d4b09e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cunit/test_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ int main(int argc, char **argv)
ERR(ret);
if ((ret = PIOc_read_darray(ncid, varid, ioid, elements_per_pe, data_in)))
ERR(ret);
for (i = 0; i < elements_per_pe; i++)
if (data_in[i] != data[i]) ERR(ERR_WRONG);

/* Close the file. */
if ((ret = PIOc_closefile(ncid)))
Expand Down

0 comments on commit 3d4b09e

Please sign in to comment.