DescriptionAudioEncoderOpusTest.PacketLossRateOptimized: Fix bug and make prettier
Fix bug 4981, which caused the second half (decreasing loss rates) to
not test anything. In the process, the test is changed slightly to
make it less dependent on the exact rounding behavior of doubles (by
not testing exactly at the the points where the effective loss rate
goes through a step---just very very close). A bunch of symbolic
constants are also replaced with easy-to-read literal numbers.
BUG=4981
Committed: https://crrev.com/942a699f14317927f9069a908e74c28338c5c5a8
Cr-Commit-Position: refs/heads/master@{#9908}
Patch Set 1 #
Total comments: 6
Patch Set 2 : looks better #
Depends on Patchset: Messages
Total messages: 8 (2 generated)
|