Renamed the test::BitExactFrame method to test::VectorDifferenceBounded.

BUG=

Review URL: https://codereview.webrtc.org/1841213002

Cr-Commit-Position: refs/heads/master@{#12162}
This commit is contained in:
peah
2016-03-30 08:13:57 -07:00
committed by Commit bot
parent d53c389550
commit 7ea928e8e2
9 changed files with 45 additions and 42 deletions

View File

@ -107,10 +107,10 @@ void RunBitexactnessTest(int sample_rate_hz,
// preceeding frames as testvectors. As the algorithm being tested has a
// memory, testing only the last frame implicitly also tests the preceeding
// frames.
const float kTolerance = 1.0f / 32768.0f;
EXPECT_TRUE(test::BitExactFrame(
const float kElementErrorBound = 1.0f / 32768.0f;
EXPECT_TRUE(test::VerifyDeinterleavedArray(
capture_config.num_frames(), capture_config.num_channels(),
output_reference, capture_output, kTolerance));
output_reference, capture_output, kElementErrorBound));
}
} // namespace