History

Consistently compare integers with integers and bools with bools

MSVC warns when comparing integers with booleans in with the gtest assertion macros.

Martin Storsjö committed 11 years ago

Commit 99925981 parent cd552013 files · +14 −14Browse files

Showing the changes to test/api/decoder_test.cpp (1 of 3 files). Show all

Unified · Split

test/api/decoder_test.cpp+1−1
@@ -29,7 +29,7 @@ TEST_F (DecoderCapabilityTest, JustInit) { · 28 unmodified lines
29 EXPECT_EQ (sDecCap.iMaxCpb, 20000);29 EXPECT_EQ (sDecCap.iMaxCpb, 20000);
30 EXPECT_EQ (sDecCap.iMaxDpb, 20480);30 EXPECT_EQ (sDecCap.iMaxDpb, 20480);
31 EXPECT_EQ (sDecCap.iMaxBr, 20000);31 EXPECT_EQ (sDecCap.iMaxBr, 20000);
32 EXPECT_EQ (sDecCap.bRedPicCap, 0);32 EXPECT_EQ (sDecCap.bRedPicCap, false);
33}33}
34 34
35 35

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t