Lines Matching refs:kBasicDatabase
80 constexpr TokenDatabase kBasicDatabase = TokenDatabase::Create<kBasicData>(); variable
81 static_assert(kBasicDatabase.size() == 3u);
133 auto it = kBasicDatabase.begin(); in TEST()
140 EXPECT_EQ(it - kBasicDatabase.begin(), 1); in TEST()
145 EXPECT_EQ(it - kBasicDatabase.begin(), 2); in TEST()
148 EXPECT_EQ(it, kBasicDatabase.end()); in TEST()
149 EXPECT_EQ(static_cast<size_t>(it - kBasicDatabase.begin()), in TEST()
150 kBasicDatabase.size()); in TEST()
154 auto it = kBasicDatabase.begin(); in TEST()
160 auto it = kBasicDatabase.begin(); in TEST()
168 auto match = kBasicDatabase.Find(1); in TEST()
180 auto match = kBasicDatabase.Find(2); in TEST()
187 auto match = kBasicDatabase.Find(0xff); in TEST()
194 EXPECT_TRUE(kBasicDatabase.Find(0).empty()); in TEST()
195 EXPECT_TRUE(kBasicDatabase.Find(3).empty()); in TEST()
196 EXPECT_TRUE(kBasicDatabase.Find(10239).empty()); in TEST()
197 EXPECT_TRUE(kBasicDatabase.Find(0xFFFFFFFFu).empty()); in TEST()