Fix the bool coder test

Fix the bool coder test not to use a probability of 100%.

Change-Id: I799871cb0c48580edf0ee15a6c9931d27591ec99
(cherry picked from commit 9b79f6a3d6ea398e5d51d3d1dd69cbfb1725370e)
This commit is contained in:
Yushin Cho
2016-11-04 15:39:55 -07:00
committed by Alex Converse
parent 713b56121a
commit 3e4fcb4ff4

View File

@@ -103,7 +103,7 @@ TEST(AV1, TestTell) {
uint8_t bw_buffer[kBufferSize];
const int kSymbols = 1024;
// Coders are noisier at low probabilities, so we start at p = 4.
for (int p = 4; p <= 256; p++) {
for (int p = 4; p < 256; p++) {
double probability = p / 256.;
aom_start_encode(&bw, bw_buffer);
for (int i = 0; i < kSymbols; i++) {