Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
9cce4369
Commit
9cce4369
authored
Oct 20, 2016
by
Debargha Mukherjee
Committed by
Gerrit Code Review
Oct 20, 2016
Browse files
Merge "Fix for AV1.TestTell" into nextgenv2
parents
c58d9571
f994855e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/boolcoder_test.cc
View file @
9cce4369
...
...
@@ -135,7 +135,7 @@ TEST(AV1, TestTell) {
}
const
uint32_t
expected
=
(
uint32_t
)(
-
kSymbols
*
log2
(
probability
));
// Last tell should be close to the expected value.
GTEST_ASSERT_LE
(
last_tell
-
expected
,
20
)
<<
" last_tell: "
<<
last_tell
;
GTEST_ASSERT_LE
(
last_tell
,
expected
+
20
)
<<
" last_tell: "
<<
last_tell
;
// The average frac_diff error should be pretty small.
GTEST_ASSERT_LE
(
frac_diff_total
/
kSymbols
,
FRAC_DIFF_TOTAL_ERROR
)
<<
" frac_diff_total: "
<<
frac_diff_total
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment