| 22 | using ::testing::ElementsAre; |
| 23 | |
| 24 | TEST(TensorTest, GetTensorShape4D) { |
| 25 | RuntimeShape d = GetTensorShape({2, 3, 4, 5}); |
| 26 | EXPECT_THAT( |
| 27 | std::vector<int32>(d.DimsData(), d.DimsData() + d.DimensionsCount()), |
| 28 | ElementsAre(2, 3, 4, 5)); |
| 29 | } |
| 30 | |
| 31 | TEST(TensorTest, GetTensorShape3D) { |
| 32 | RuntimeShape d = GetTensorShape({3, 4, 5}); |
nothing calls this directly
no test coverage detected