1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tests: be more descriptive

This commit is contained in:
Steffen Vogel 2018-01-16 08:58:39 +01:00
parent b85c975998
commit 84d9e3ab6b

View file

@ -138,7 +138,7 @@ void cr_assert_eq_samples(struct io_format *f, struct sample *smps[], struct sam
cr_assert_float_eq(smps[i]->data[j].f, smpt[i]->data[j].f, 1e-3, "Sample data mismatch at index %d: %f != %f", j, smps[i]->data[j].f, smpt[i]->data[j].f);
break;
case SAMPLE_DATA_FORMAT_INT:
cr_assert_eq(smps[i]->data[j].i, smpt[i]->data[j].i);
cr_assert_eq(smps[i]->data[j].i, smpt[i]->data[j].i, "Sample data mismatch at index %d: %d != %d", j, smps[i]->data[j].i, smpt[i]->data[j].i);
break;
}
}