Lines Matching refs:doCheck
8 auto doCheck = [](StringRef BuiltinFeatures, StringRef FuncFeatures) { in TEST() local
18 ASSERT_FALSE(doCheck("A,B,C,D", "A")); in TEST()
19 ASSERT_TRUE(doCheck("A,B,C,D", "A,B,C,D")); in TEST()
20 ASSERT_TRUE(doCheck("A|B", "A")); in TEST()
21 ASSERT_FALSE(doCheck("A|B", "C")); in TEST()
24 ASSERT_TRUE(doCheck("A|B,C|D", "A")); in TEST()
27 ASSERT_FALSE(doCheck("(A|B),(C|D)", "A")); in TEST()
28 ASSERT_TRUE(doCheck("(A|B),(C|D)", "A,C")); in TEST()
31 ASSERT_FALSE(doCheck("(A,B|C),D", "A,C")); in TEST()
32 ASSERT_FALSE(doCheck("(A,B|C),D", "A,D")); in TEST()
33 ASSERT_TRUE(doCheck("(A,B|C),D", "C,D")); in TEST()
34 ASSERT_TRUE(doCheck("(A,B|C),D", "A,B,D")); in TEST()
37 ASSERT_FALSE(doCheck("(A,(B|C)),D", "C,D")); in TEST()
38 ASSERT_TRUE(doCheck("(A,(B|C)),D", "A,C,D")); in TEST()