Lines Matching refs:IsUint
252 static_assert(!IsUint<1, int32_t>(-1), "TestIsUint32#1");
253 static_assert(IsUint<1, int32_t>(0), "TestIsUint32#2");
254 static_assert(IsUint<1, int32_t>(1), "TestIsUint32#3");
255 static_assert(!IsUint<1, int32_t>(2), "TestIsUint32#4");
256 static_assert(!IsUint<4, int32_t>(-1), "TestIsUint32#5");
257 static_assert(IsUint<4, int32_t>(0), "TestIsUint32#6");
258 static_assert(IsUint<4, int32_t>(15), "TestIsUint32#7");
259 static_assert(!IsUint<4, int32_t>(16), "TestIsUint32#8");
260 static_assert(!IsUint<30, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#9");
261 static_assert(IsUint<31, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#10");
262 static_assert(!IsUint<32, int32_t>(-1), "TestIsUint32#11");
263 static_assert(IsUint<32, int32_t>(0), "TestIsUint32#11");
264 static_assert(IsUint<32, uint32_t>(static_cast<uint32_t>(-1)), "TestIsUint32#12");
266 static_assert(!IsUint<1, int64_t>(-1), "TestIsUint64#1");
267 static_assert(IsUint<1, int64_t>(0), "TestIsUint64#2");
268 static_assert(IsUint<1, int64_t>(1), "TestIsUint64#3");
269 static_assert(!IsUint<1, int64_t>(2), "TestIsUint64#4");
270 static_assert(!IsUint<4, int64_t>(-1), "TestIsUint64#5");
271 static_assert(IsUint<4, int64_t>(0), "TestIsUint64#6");
272 static_assert(IsUint<4, int64_t>(15), "TestIsUint64#7");
273 static_assert(!IsUint<4, int64_t>(16), "TestIsUint64#8");
274 static_assert(!IsUint<30, int64_t>(std::numeric_limits<int32_t>::max()), "TestIsUint64#9");
275 static_assert(IsUint<31, int64_t>(std::numeric_limits<int32_t>::max()), "TestIsUint64#10");
276 static_assert(!IsUint<62, int64_t>(std::numeric_limits<int64_t>::max()), "TestIsUint64#11");
277 static_assert(IsUint<63, int64_t>(std::numeric_limits<int64_t>::max()), "TestIsUint64#12");
278 static_assert(!IsUint<64, int64_t>(-1), "TestIsUint64#13");
279 static_assert(IsUint<64, int64_t>(0), "TestIsUint64#14");
280 static_assert(IsUint<64, uint64_t>(static_cast<uint32_t>(-1)), "TestIsUint64#15");