diff options
Diffstat (limited to 'src/tests/tng_io_testing.c')
-rw-r--r-- | src/tests/tng_io_testing.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c index 28f8f47..ee0bb94 100644 --- a/src/tests/tng_io_testing.c +++ b/src/tests/tng_io_testing.c @@ -709,6 +709,17 @@ static tng_function_status tng_test_write_and_read_traj(tng_trajectory_t *traj, free(data); tng_trajectory_destroy(traj); + + /***********************************************************/ + /***********************************************************/ + /***********************************************************/ + /***********************************************************/ + /***********************************************************/ + /***********************************************************/ + /***********************************************************/ + /***********************************************************/ + + tng_trajectory_init(traj); tng_input_file_set(*traj, TNG_EXAMPLE_FILES_DIR "tng_test.tng"); |