Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTS: fix testresamplerq checks, make all failed assertions fatal #134

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/testresamplerq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ResamplerTest::check_resampler_up (Resampler2::Precision precision, bool use_sse
{
if (j >= i * 2)
{
assert_return (output[j] == results[0][j - i * 2]);
TASSERT (output[j] == results[0][j - i * 2]);
}
// printf ("%d %.17g #p%d,%d\n", j, output[j], precision, i);
}
Expand Down Expand Up @@ -129,7 +129,7 @@ ResamplerTest::check_resampler_down (Resampler2::Precision precision, bool use_s
for (size_t j = 0; j < output.size(); j++)
{
if (j >= i/2)
assert_return (output[j] == results[i % 2][j - i/2]);
TASSERT (output[j] == results[i % 2][j - i/2]);
//printf ("%zd %.17g #%d,%zd\n", j, output[j], precision, i);
}
}
Expand Down