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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user