Lines Matching defs:Answer
552 EXPECT_EQ("answer = 42", format("{0} = {1}", "answer", 42));
553 EXPECT_EQ("42 is the answer", format("{1} is the {0}", "answer", 42));
1381 class Answer {};
1384 void format_arg(fmt::BasicFormatter<Char> &f, const Char *, Answer) {
1389 EXPECT_EQ("42", format("{0}", Answer()));
1409 std::string message = format("The answer is {}", 42);
1410 EXPECT_EQ("The answer is 42", message);
1416 out << "The answer is " << 42 << "\n";
1418 EXPECT_EQ("The answer is 42\n(-3.140000, +3.140000)", out.str());
1478 EXPECT_EQ("The answer is 42", format("The answer is {}", 42));
1480 format("The answer is {:d}", "forty-two"), FormatError,