diff options
author | Mathis Rosenhauer <rosenhauer@dkrz.de> | 2012-10-02 15:38:08 +0200 |
---|---|---|
committer | Thomas Jahns <jahns@dkrz.de> | 2013-02-19 11:33:00 +0100 |
commit | 133e949937044c0c2d75a5d434599f9fecb079f2 (patch) | |
tree | b864a480d05ea45d7f507370b36dca71f66631b9 /tests | |
parent | fa68d153f0f245cffd03b36287a7691b90525b52 (diff) | |
download | libaec-133e949937044c0c2d75a5d434599f9fecb079f2.tar.gz libaec-133e949937044c0c2d75a5d434599f9fecb079f2.tar.bz2 libaec-133e949937044c0c2d75a5d434599f9fecb079f2.zip |
Make FS check more robust
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check_code_options.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/check_code_options.c b/tests/check_code_options.c index ffd361a..12b328f 100644 --- a/tests/check_code_options.c +++ b/tests/check_code_options.c @@ -103,9 +103,11 @@ int check_fs(struct test_state *state) for (tmp = state->ubuf; tmp < state->ubuf + state->buf_len; - tmp += 2 * state->byte_per_sample) { - state->out(tmp, state->xmin + 1, size); + tmp += 4 * state->byte_per_sample) { + state->out(tmp, state->xmin + 2, size); state->out(tmp + size, state->xmin, size); + state->out(tmp + 2 * size, state->xmin, size); + state->out(tmp + 3 * size, state->xmin, size); } printf("Checking FS ... "); |