Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ UNIT_TEST
Function
UNIT_TEST
libs/base/base_tests/bits_test.cpp:8–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
#include <cstdlib>
7
8
UNIT_TEST(Select1Test)
9
{
10
TEST_EQUAL(0U, bits::select1(1, 1), ());
11
}
12
13
UNIT_TEST(PerfectShuffle)
14
{
Callers
nothing calls this directly
Calls
10
select1
Function · 0.85
PerfectShuffle
Function · 0.85
PerfectUnshuffle
Function · 0.85
BitwiseMerge
Function · 0.85
ZigZagEncode
Function · 0.85
ZigZagDecode
Function · 0.85
NumHiZeroBits32
Function · 0.85
NumHiZeroBits64
Function · 0.85
NumUsedBits
Function · 0.85
FloorLog
Function · 0.85
Tested by
no test coverage detected