Home
last modified time | relevance | path

Searched refs:one_arg_ (Results 1 – 1 of 1) sorted by relevance

/external/pigweed/pw_tokenizer/
Ddecode_test.cc163 one_arg_("so you can give %d%%"), in DecodedFormatStringTest()
167 const FormatString one_arg_; member in pw::tokenizer::__anonc687bd0c0111::DecodedFormatStringTest
173 EXPECT_EQ("so you can give 0%", one_arg_.Format("\0"sv).value()); in TEST_F()
179 EXPECT_TRUE(one_arg_.Format("\0"sv).ok()); in TEST_F()
184 EXPECT_FALSE(one_arg_.Format("").ok()); in TEST_F()
190 EXPECT_FALSE(one_arg_.Format("\0\0"sv).ok()); in TEST_F()
196 one_arg_.Format("\x80\x80\x80\x80\x80\x80\x80\x80\x80\x80\x00"sv).ok()); in TEST_F()
201 EXPECT_EQ(0u, one_arg_.Format("").remaining_bytes()); in TEST_F()
207 EXPECT_EQ(1u, one_arg_.Format("\x02\x02").remaining_bytes()); in TEST_F()
213 EXPECT_EQ(1u, one_arg_.Format("").argument_count()); in TEST_F()
[all …]