Lines Matching refs:value
191 EXPECT_TRUE((LosslessArithmeticConvertible<bool, bool>::value));
195 EXPECT_TRUE((LosslessArithmeticConvertible<bool, char>::value));
196 EXPECT_TRUE((LosslessArithmeticConvertible<bool, int>::value));
198 (LosslessArithmeticConvertible<bool, unsigned long>::value)); // NOLINT
202 EXPECT_TRUE((LosslessArithmeticConvertible<bool, float>::value));
203 EXPECT_TRUE((LosslessArithmeticConvertible<bool, double>::value));
207 EXPECT_FALSE((LosslessArithmeticConvertible<unsigned char, bool>::value));
208 EXPECT_FALSE((LosslessArithmeticConvertible<int, bool>::value));
213 EXPECT_TRUE((LosslessArithmeticConvertible<unsigned char, int>::value));
217 uint64_t>::value)); // NOLINT
221 (LosslessArithmeticConvertible<short, uint64_t>::value)); // NOLINT
223 unsigned int>::value)); // NOLINT
227 (LosslessArithmeticConvertible<unsigned char, unsigned char>::value));
228 EXPECT_TRUE((LosslessArithmeticConvertible<int, int>::value));
229 EXPECT_TRUE((LosslessArithmeticConvertible<wchar_t, wchar_t>::value));
231 unsigned long>::value)); // NOLINT
235 (LosslessArithmeticConvertible<unsigned char, signed char>::value));
236 EXPECT_FALSE((LosslessArithmeticConvertible<int, unsigned int>::value));
237 EXPECT_FALSE((LosslessArithmeticConvertible<uint64_t, int64_t>::value));
240 EXPECT_FALSE((LosslessArithmeticConvertible<long, char>::value)); // NOLINT
241 EXPECT_FALSE((LosslessArithmeticConvertible<int, signed char>::value));
242 EXPECT_FALSE((LosslessArithmeticConvertible<int64_t, unsigned int>::value));
248 EXPECT_FALSE((LosslessArithmeticConvertible<char, float>::value));
249 EXPECT_FALSE((LosslessArithmeticConvertible<int, double>::value));
251 (LosslessArithmeticConvertible<short, long double>::value)); // NOLINT
255 EXPECT_FALSE((LosslessArithmeticConvertible<float, bool>::value));
256 EXPECT_FALSE((LosslessArithmeticConvertible<double, bool>::value));
260 EXPECT_FALSE((LosslessArithmeticConvertible<float, long>::value)); // NOLINT
261 EXPECT_FALSE((LosslessArithmeticConvertible<double, int64_t>::value));
262 EXPECT_FALSE((LosslessArithmeticConvertible<long double, int>::value));
267 EXPECT_TRUE((LosslessArithmeticConvertible<float, double>::value));
268 EXPECT_TRUE((LosslessArithmeticConvertible<float, long double>::value));
269 EXPECT_TRUE((LosslessArithmeticConvertible<double, long double>::value));
272 EXPECT_TRUE((LosslessArithmeticConvertible<float, float>::value));
273 EXPECT_TRUE((LosslessArithmeticConvertible<double, double>::value));
276 EXPECT_FALSE((LosslessArithmeticConvertible<double, float>::value));
282 EXPECT_TRUE((LosslessArithmeticConvertible<long double, double>::value));
284 EXPECT_FALSE((LosslessArithmeticConvertible<long double, double>::value));
467 // itself from the trace. This means that the value is a little higher than
476 // Tests that all logs are printed when the value of the
483 // Tests that only warnings are printed when the value of the
490 // Tests that no logs are printed when the value of the
497 // Tests that only warnings are printed when the value of the
661 EXPECT_TRUE((std::is_same<int, F::Result>::value));
662 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentTuple>::value));
663 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentMatcherTuple>::value));
664 EXPECT_TRUE((std::is_same<void(), F::MakeResultVoid>::value));
665 EXPECT_TRUE((std::is_same<IgnoredValue(), F::MakeResultIgnoredValue>::value));
671 EXPECT_TRUE((std::is_same<int, F::Result>::value));
672 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value));
673 EXPECT_TRUE((std::is_same<std::tuple<bool>, F::ArgumentTuple>::value));
675 std::is_same<std::tuple<Matcher<bool>>, F::ArgumentMatcherTuple>::value));
676 EXPECT_TRUE((std::is_same<void(bool), F::MakeResultVoid>::value)); // NOLINT
678 F::MakeResultIgnoredValue>::value));
684 EXPECT_TRUE((std::is_same<int, F::Result>::value));
685 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value));
686 EXPECT_TRUE((std::is_same<const long&, F::Arg<1>::type>::value)); // NOLINT
688 F::ArgumentTuple>::value));
691 F::ArgumentMatcherTuple>::value));
693 F::MakeResultVoid>::value));
695 F::MakeResultIgnoredValue>::value));
701 EXPECT_TRUE((std::is_same<char, F::Result>::value));
702 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value));
703 EXPECT_TRUE((std::is_same<int, F::Arg<1>::type>::value));
704 EXPECT_TRUE((std::is_same<char*, F::Arg<2>::type>::value));
705 EXPECT_TRUE((std::is_same<int&, F::Arg<3>::type>::value));
706 EXPECT_TRUE((std::is_same<const long&, F::Arg<4>::type>::value)); // NOLINT
709 F::ArgumentTuple>::value));
714 F::ArgumentMatcherTuple>::value));
717 F::MakeResultVoid>::value));
720 F::MakeResultIgnoredValue>::value));