| 94 | }; |
| 95 | |
| 96 | TEST(ConcatenationOpTest, ThreeDimensionalOneInput) { |
| 97 | ConcatenationOpModel m0({TensorType_FLOAT32, {2, 1, 2}}, /*axis=*/1, |
| 98 | /*num_inputs=*/1); |
| 99 | m0.SetInput(0, {1.0f, 3.0f, 4.0f, 7.0f}); |
| 100 | m0.Invoke(); |
| 101 | EXPECT_THAT(m0.GetOutput(), ElementsAreArray({1, 3, 4, 7})); |
| 102 | } |
| 103 | |
| 104 | TEST(ConcatenationOpTest, FiveDimensionalOneInput) { |
| 105 | ConcatenationOpModel m0({TensorType_FLOAT32, {2, 1, 2, 1, 3}}, /*axis=*/2, |
nothing calls this directly
no test coverage detected