• Home
  • Raw
  • Download

Lines Matching refs:EXPECT_EQ

23   EXPECT_EQ(false, glslang::IsPow2(-5));  in TEST()
24 EXPECT_EQ(false, glslang::IsPow2(-1)); in TEST()
25 EXPECT_EQ(false, glslang::IsPow2(INT_MIN)); in TEST()
26 EXPECT_EQ(false, glslang::IsPow2(int64_t(-10))); in TEST()
30 EXPECT_EQ(false, glslang::IsPow2(0)); in TEST()
31 EXPECT_EQ(false, glslang::IsPow2(0u)); in TEST()
32 EXPECT_EQ(false, glslang::IsPow2(0)); in TEST()
33 EXPECT_EQ(false, glslang::IsPow2(uint64_t(0))); in TEST()
34 EXPECT_EQ(false, glslang::IsPow2(int64_t(0))); in TEST()
38 EXPECT_EQ(true, glslang::IsPow2(1)); in TEST()
39 EXPECT_EQ(true, glslang::IsPow2(2)); in TEST()
40 EXPECT_EQ(true, glslang::IsPow2(4)); in TEST()
41 EXPECT_EQ(true, glslang::IsPow2(8)); in TEST()
42 EXPECT_EQ(true, glslang::IsPow2(16)); in TEST()
43 EXPECT_EQ(true, glslang::IsPow2(32768)); in TEST()
44 EXPECT_EQ(true, glslang::IsPow2(65536)); in TEST()
45 EXPECT_EQ(true, glslang::IsPow2(2147483648)); in TEST()
49 EXPECT_EQ(false, glslang::IsPow2(3)); in TEST()
50 EXPECT_EQ(false, glslang::IsPow2(5)); in TEST()
51 EXPECT_EQ(false, glslang::IsPow2(2147483647)); in TEST()
55 EXPECT_EQ(true, glslang::IsPow2(1u)); in TEST()
56 EXPECT_EQ(true, glslang::IsPow2(2u)); in TEST()
57 EXPECT_EQ(true, glslang::IsPow2(4u)); in TEST()
58 EXPECT_EQ(true, glslang::IsPow2(8u)); in TEST()
59 EXPECT_EQ(true, glslang::IsPow2(16u)); in TEST()
60 EXPECT_EQ(true, glslang::IsPow2(32768u)); in TEST()
61 EXPECT_EQ(true, glslang::IsPow2(65536u)); in TEST()
62 EXPECT_EQ(true, glslang::IsPow2(2147483648u)); in TEST()
66 EXPECT_EQ(false, glslang::IsPow2(3u)); in TEST()
67 EXPECT_EQ(false, glslang::IsPow2(5u)); in TEST()
68 EXPECT_EQ(false, glslang::IsPow2(2147483647u)); in TEST()
72 EXPECT_EQ(0, glslang::IntLog2(1)); in TEST()
73 EXPECT_EQ(1, glslang::IntLog2(2)); in TEST()
74 EXPECT_EQ(2, glslang::IntLog2(4)); in TEST()
75 EXPECT_EQ(3, glslang::IntLog2(8)); in TEST()
76 EXPECT_EQ(4, glslang::IntLog2(16)); in TEST()
77 EXPECT_EQ(5, glslang::IntLog2(32)); in TEST()
78 EXPECT_EQ(6, glslang::IntLog2(64)); in TEST()
79 EXPECT_EQ(7, glslang::IntLog2(128)); in TEST()
80 EXPECT_EQ(8, glslang::IntLog2(256)); in TEST()
81 EXPECT_EQ(9, glslang::IntLog2(512)); in TEST()
82 EXPECT_EQ(10, glslang::IntLog2(1024)); in TEST()
83 EXPECT_EQ(11, glslang::IntLog2(2048)); in TEST()
84 EXPECT_EQ(12, glslang::IntLog2(0x1000)); in TEST()
85 EXPECT_EQ(13, glslang::IntLog2(0x2000)); in TEST()
86 EXPECT_EQ(14, glslang::IntLog2(0x4000)); in TEST()
87 EXPECT_EQ(15, glslang::IntLog2(0x8000)); in TEST()
88 EXPECT_EQ(16, glslang::IntLog2(0x10000)); in TEST()
89 EXPECT_EQ(17, glslang::IntLog2(0x20000)); in TEST()
90 EXPECT_EQ(18, glslang::IntLog2(0x40000)); in TEST()
91 EXPECT_EQ(19, glslang::IntLog2(0x80000)); in TEST()
92 EXPECT_EQ(20, glslang::IntLog2(0x100000)); in TEST()
93 EXPECT_EQ(21, glslang::IntLog2(0x200000)); in TEST()
94 EXPECT_EQ(22, glslang::IntLog2(0x400000)); in TEST()
95 EXPECT_EQ(23, glslang::IntLog2(0x800000)); in TEST()
96 EXPECT_EQ(24, glslang::IntLog2(0x1000000)); in TEST()
97 EXPECT_EQ(25, glslang::IntLog2(0x2000000)); in TEST()
98 EXPECT_EQ(26, glslang::IntLog2(0x4000000)); in TEST()
99 EXPECT_EQ(27, glslang::IntLog2(0x8000000)); in TEST()
100 EXPECT_EQ(28, glslang::IntLog2(0x10000000)); in TEST()
101 EXPECT_EQ(29, glslang::IntLog2(0x20000000)); in TEST()
102 EXPECT_EQ(30, glslang::IntLog2(0x40000000)); in TEST()
106 EXPECT_EQ(0, glslang::IntLog2(1u)); in TEST()
107 EXPECT_EQ(1, glslang::IntLog2(2u)); in TEST()
108 EXPECT_EQ(2, glslang::IntLog2(4u)); in TEST()
109 EXPECT_EQ(3, glslang::IntLog2(8u)); in TEST()
110 EXPECT_EQ(4, glslang::IntLog2(16u)); in TEST()
111 EXPECT_EQ(5, glslang::IntLog2(32u)); in TEST()
112 EXPECT_EQ(6, glslang::IntLog2(64u)); in TEST()
113 EXPECT_EQ(7, glslang::IntLog2(128u)); in TEST()
114 EXPECT_EQ(8, glslang::IntLog2(256u)); in TEST()
115 EXPECT_EQ(9, glslang::IntLog2(512u)); in TEST()
116 EXPECT_EQ(10, glslang::IntLog2(1024u)); in TEST()
117 EXPECT_EQ(11, glslang::IntLog2(2048u)); in TEST()
118 EXPECT_EQ(12, glslang::IntLog2(0x1000u)); in TEST()
119 EXPECT_EQ(13, glslang::IntLog2(0x2000u)); in TEST()
120 EXPECT_EQ(14, glslang::IntLog2(0x4000u)); in TEST()
121 EXPECT_EQ(15, glslang::IntLog2(0x8000u)); in TEST()
122 EXPECT_EQ(16, glslang::IntLog2(0x10000u)); in TEST()
123 EXPECT_EQ(17, glslang::IntLog2(0x20000u)); in TEST()
124 EXPECT_EQ(18, glslang::IntLog2(0x40000u)); in TEST()
125 EXPECT_EQ(19, glslang::IntLog2(0x80000u)); in TEST()
126 EXPECT_EQ(20, glslang::IntLog2(0x100000u)); in TEST()
127 EXPECT_EQ(21, glslang::IntLog2(0x200000u)); in TEST()
128 EXPECT_EQ(22, glslang::IntLog2(0x400000u)); in TEST()
129 EXPECT_EQ(23, glslang::IntLog2(0x800000u)); in TEST()
130 EXPECT_EQ(24, glslang::IntLog2(0x1000000u)); in TEST()
131 EXPECT_EQ(25, glslang::IntLog2(0x2000000u)); in TEST()
132 EXPECT_EQ(26, glslang::IntLog2(0x4000000u)); in TEST()
133 EXPECT_EQ(27, glslang::IntLog2(0x8000000u)); in TEST()
134 EXPECT_EQ(28, glslang::IntLog2(0x10000000u)); in TEST()
135 EXPECT_EQ(29, glslang::IntLog2(0x20000000u)); in TEST()
136 EXPECT_EQ(30, glslang::IntLog2(0x40000000u)); in TEST()
137 EXPECT_EQ(31, glslang::IntLog2(0x80000000u)); in TEST()
141 EXPECT_EQ(0, glslang::IntLog2(int64_t(1))); in TEST()
142 EXPECT_EQ(1, glslang::IntLog2(int64_t(2))); in TEST()
143 EXPECT_EQ(2, glslang::IntLog2(int64_t(4))); in TEST()
144 EXPECT_EQ(3, glslang::IntLog2(int64_t(8))); in TEST()
145 EXPECT_EQ(30, glslang::IntLog2(int64_t(0x40000000u))); in TEST()
146 EXPECT_EQ(31, glslang::IntLog2(int64_t(0x80000000u))); in TEST()
147 EXPECT_EQ(32, glslang::IntLog2(int64_t(0x10000) * int64_t(0x10000))); in TEST()
148 EXPECT_EQ(48, glslang::IntLog2(int64_t(0x10000) * int64_t(0x10000) * int64_t(0x10000))); in TEST()
149EXPECT_EQ(62, glslang::IntLog2(int64_t(0x10000) * int64_t(0x10000) * int64_t(0x10000) * int64_t(0x… in TEST()
153 EXPECT_EQ(0, glslang::IntLog2(uint64_t(1))); in TEST()
154 EXPECT_EQ(1, glslang::IntLog2(uint64_t(2))); in TEST()
155 EXPECT_EQ(2, glslang::IntLog2(uint64_t(4))); in TEST()
156 EXPECT_EQ(3, glslang::IntLog2(uint64_t(8))); in TEST()
157 EXPECT_EQ(30, glslang::IntLog2(uint64_t(0x40000000u))); in TEST()
158 EXPECT_EQ(31, glslang::IntLog2(uint64_t(0x80000000u))); in TEST()
159 EXPECT_EQ(32, glslang::IntLog2(uint64_t(0x10000) * uint64_t(0x10000))); in TEST()
160 EXPECT_EQ(48, glslang::IntLog2(uint64_t(0x10000) * uint64_t(0x10000) * uint64_t(0x10000))); in TEST()
161EXPECT_EQ(62, glslang::IntLog2(uint64_t(0x10000) * uint64_t(0x10000) * uint64_t(0x10000) * uint64_… in TEST()
162EXPECT_EQ(63, glslang::IntLog2(uint64_t(0x10000) * uint64_t(0x10000) * uint64_t(0x10000) * uint64_… in TEST()