Lines Matching refs:value

193   EXPECT_TRUE((LosslessArithmeticConvertible<bool, bool>::value));
197 EXPECT_TRUE((LosslessArithmeticConvertible<bool, char>::value));
198 EXPECT_TRUE((LosslessArithmeticConvertible<bool, int>::value));
200 (LosslessArithmeticConvertible<bool, unsigned long>::value)); // NOLINT
204 EXPECT_TRUE((LosslessArithmeticConvertible<bool, float>::value));
205 EXPECT_TRUE((LosslessArithmeticConvertible<bool, double>::value));
209 EXPECT_FALSE((LosslessArithmeticConvertible<unsigned char, bool>::value));
210 EXPECT_FALSE((LosslessArithmeticConvertible<int, bool>::value));
215 EXPECT_TRUE((LosslessArithmeticConvertible<unsigned char, int>::value));
219 (LosslessArithmeticConvertible<unsigned short, UInt64>::value)); // NOLINT
222 EXPECT_FALSE((LosslessArithmeticConvertible<short, UInt64>::value)); // NOLINT
224 signed char, unsigned int>::value)); // NOLINT
228 unsigned char, unsigned char>::value));
229 EXPECT_TRUE((LosslessArithmeticConvertible<int, int>::value));
230 EXPECT_TRUE((LosslessArithmeticConvertible<wchar_t, wchar_t>::value));
232 unsigned long, unsigned long>::value)); // NOLINT
236 unsigned char, signed char>::value));
237 EXPECT_FALSE((LosslessArithmeticConvertible<int, unsigned int>::value));
238 EXPECT_FALSE((LosslessArithmeticConvertible<UInt64, Int64>::value));
241 EXPECT_FALSE((LosslessArithmeticConvertible<long, char>::value)); // NOLINT
242 EXPECT_FALSE((LosslessArithmeticConvertible<int, signed char>::value));
243 EXPECT_FALSE((LosslessArithmeticConvertible<Int64, unsigned int>::value));
249 EXPECT_FALSE((LosslessArithmeticConvertible<char, float>::value));
250 EXPECT_FALSE((LosslessArithmeticConvertible<int, double>::value));
252 short, long double>::value)); // NOLINT
256 EXPECT_FALSE((LosslessArithmeticConvertible<float, bool>::value));
257 EXPECT_FALSE((LosslessArithmeticConvertible<double, bool>::value));
261 EXPECT_FALSE((LosslessArithmeticConvertible<float, long>::value)); // NOLINT
262 EXPECT_FALSE((LosslessArithmeticConvertible<double, Int64>::value));
263 EXPECT_FALSE((LosslessArithmeticConvertible<long double, int>::value));
268 EXPECT_TRUE((LosslessArithmeticConvertible<float, double>::value));
269 EXPECT_TRUE((LosslessArithmeticConvertible<float, long double>::value));
270 EXPECT_TRUE((LosslessArithmeticConvertible<double, long double>::value));
273 EXPECT_TRUE((LosslessArithmeticConvertible<float, float>::value));
274 EXPECT_TRUE((LosslessArithmeticConvertible<double, double>::value));
277 EXPECT_FALSE((LosslessArithmeticConvertible<double, float>::value));
283 EXPECT_TRUE((LosslessArithmeticConvertible<long double, double>::value));
285 EXPECT_FALSE((LosslessArithmeticConvertible<long double, double>::value));
471 // itself from the trace. This means that the value is a little higher than
480 // Tests that all logs are printed when the value of the
487 // Tests that only warnings are printed when the value of the
494 // Tests that no logs are printed when the value of the
501 // Tests that only warnings are printed when the value of the
511 EXPECT_TRUE(true_type::value);
515 EXPECT_FALSE(false_type::value);
519 EXPECT_FALSE(is_reference<int>::value);
520 EXPECT_FALSE(is_reference<char*>::value);
521 EXPECT_TRUE(is_reference<const int&>::value);
525 EXPECT_FALSE(is_pointer<int>::value);
526 EXPECT_FALSE(is_pointer<char&>::value);
527 EXPECT_TRUE(is_pointer<const int*>::value);
531 EXPECT_FALSE((type_equals<int, const int>::value));
532 EXPECT_FALSE((type_equals<int, int&>::value));
533 EXPECT_FALSE((type_equals<int, double>::value));
534 EXPECT_TRUE((type_equals<char, char>::value));
538 EXPECT_TRUE((type_equals<char, remove_reference<char&>::type>::value));
540 remove_reference<const int&>::type>::value));
541 EXPECT_TRUE((type_equals<int, remove_reference<int>::type>::value));
542 EXPECT_TRUE((type_equals<double*, remove_reference<double*>::type>::value));