Lines Matching refs:powerof2
21 ASSERT_TRUE(powerof2(1)); in TEST()
22 ASSERT_TRUE(powerof2(2)); in TEST()
23 ASSERT_TRUE(powerof2(4)); in TEST()
24 ASSERT_TRUE(powerof2(8)); in TEST()
25 ASSERT_FALSE(powerof2(3)); in TEST()
26 ASSERT_FALSE(powerof2(5)); in TEST()
27 ASSERT_FALSE(powerof2(7)); in TEST()
28 ASSERT_FALSE(powerof2(9)); in TEST()
29 ASSERT_FALSE(powerof2(10)); in TEST()
34 ASSERT_TRUE(powerof2(0)); in TEST()
36 ASSERT_TRUE(powerof2(zero)); in TEST()
44 ASSERT_TRUE(powerof2(min32)); in TEST()
45 ASSERT_FALSE(powerof2(min32 + 1)); in TEST()
46 ASSERT_TRUE(powerof2(min64)); in TEST()
47 ASSERT_FALSE(powerof2(min64 + 1)); in TEST()