Lines Matching refs:Units
398 std::vector<Unit> Units; in TEST() local
399 EXPECT_FALSE(ParseDictionaryFile("zzz\n", &Units)); in TEST()
400 EXPECT_FALSE(ParseDictionaryFile("", &Units)); in TEST()
401 EXPECT_TRUE(ParseDictionaryFile("\n", &Units)); in TEST()
402 EXPECT_EQ(Units.size(), 0U); in TEST()
403 EXPECT_TRUE(ParseDictionaryFile("#zzzz a b c d\n", &Units)); in TEST()
404 EXPECT_EQ(Units.size(), 0U); in TEST()
405 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST()
406 EXPECT_EQ(Units.size(), 0U); in TEST()
407 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\n", &Units)); in TEST()
408 EXPECT_EQ(Units.size(), 0U); in TEST()
409 EXPECT_TRUE(ParseDictionaryFile(" #zzzz\naaa=\"aa\"", &Units)); in TEST()
410 EXPECT_EQ(Units, std::vector<Unit>({Unit({'a', 'a'})})); in TEST()
412 ParseDictionaryFile(" #zzzz\naaa=\"aa\"\n\nabc=\"abc\"", &Units)); in TEST()
413 EXPECT_EQ(Units, in TEST()