| 74 | |
| 75 | #ifdef GTEST_HAS_DEATH_TEST |
| 76 | TEST(StridedSliceOpTest, UnsupportedInputSize) { |
| 77 | EXPECT_DEATH( |
| 78 | StridedSliceOpModel<>({2, 2, 2, 2, 2}, {5}, {5}, {5}, 0, 0, 0, 0, 0), |
| 79 | "StridedSlice op only supports 1D-4D input arrays."); |
| 80 | } |
| 81 | |
| 82 | TEST(StridedSliceOpTest, UnssupportedArgs) { |
| 83 | EXPECT_DEATH(StridedSliceOpModel<>({3, 2}, {2}, {2}, {2}, 0, 0, 1, 0, 0), |
nothing calls this directly
no test coverage detected