MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / TEST

Function TEST

source/test/math_test.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5using namespace Star;
6
7TEST(MathTest, All) {
8 EXPECT_EQ(countSetBits<uint32_t>(7), 3u);
9 EXPECT_EQ(countSetBits<uint32_t>(15), 4u);
10 EXPECT_EQ(countSetBits<uint32_t>(-1), 32u);
11}
12
13TEST(Math, CycleIncrement) {
14 int a = 0;

Callers

nothing calls this directly

Calls 1

cycleIncrementFunction · 0.85

Tested by

no test coverage detected