| 27 | using LexisIsReservedTest = testing::TestWithParam<LexisTestCase>; |
| 28 | |
| 29 | TEST_P(LexisIsReservedTest, Compliance) { |
| 30 | const LexisTestCase& test_case = GetParam(); |
| 31 | if (test_case.ok) { |
| 32 | EXPECT_TRUE(LexisIsReserved(test_case.text)); |
| 33 | } else { |
| 34 | EXPECT_FALSE(LexisIsReserved(test_case.text)); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | INSTANTIATE_TEST_SUITE_P(LexisIsReservedTest, LexisIsReservedTest, |
| 39 | testing::ValuesIn<LexisTestCase>({{"true", true}, |
nothing calls this directly
no test coverage detected