| 28 | using ::testing::ElementsAre; |
| 29 | |
| 30 | TEST(AstTest, ListTypeSpecMutableConstruction) { |
| 31 | ListTypeSpec type; |
| 32 | type.mutable_elem_type() = TypeSpec(PrimitiveType::kBool); |
| 33 | EXPECT_EQ(absl::get<PrimitiveType>(type.elem_type().type_kind()), |
| 34 | PrimitiveType::kBool); |
| 35 | } |
| 36 | |
| 37 | TEST(AstTest, MapTypeSpecMutableConstruction) { |
| 38 | MapTypeSpec type; |
nothing calls this directly
no test coverage detected