mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-23 19:42:40 +00:00
update Cheat files
This commit is contained in:
parent
9ab8c1e433
commit
cbfd634a4b
217 changed files with 2263 additions and 1880 deletions
|
@ -7,15 +7,15 @@
|
|||
|
||||
TEST(MathUtil, IntLog2)
|
||||
{
|
||||
EXPECT_EQ(0, IntLog2(1));
|
||||
EXPECT_EQ(1, IntLog2(2));
|
||||
EXPECT_EQ(2, IntLog2(4));
|
||||
EXPECT_EQ(3, IntLog2(8));
|
||||
EXPECT_EQ(63, IntLog2(0x8000000000000000ull));
|
||||
EXPECT_EQ(0, MathUtil::IntLog2(1));
|
||||
EXPECT_EQ(1, MathUtil::IntLog2(2));
|
||||
EXPECT_EQ(2, MathUtil::IntLog2(4));
|
||||
EXPECT_EQ(3, MathUtil::IntLog2(8));
|
||||
EXPECT_EQ(63, MathUtil::IntLog2(0x8000000000000000ull));
|
||||
|
||||
// Rounding behavior.
|
||||
EXPECT_EQ(3, IntLog2(15));
|
||||
EXPECT_EQ(63, IntLog2(0xFFFFFFFFFFFFFFFFull));
|
||||
EXPECT_EQ(3, MathUtil::IntLog2(15));
|
||||
EXPECT_EQ(63, MathUtil::IntLog2(0xFFFFFFFFFFFFFFFFull));
|
||||
}
|
||||
|
||||
TEST(MathUtil, NextPowerOf2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue