| 28 | namespace { |
| 29 | |
| 30 | TEST(CombineRaggedTensorToTensorShapes, UnknownShapeUnknownValue) { |
| 31 | TensorShapeProto shape_proto; |
| 32 | shape_proto.set_unknown_rank(true); |
| 33 | TensorShapeProto value_shape_proto; |
| 34 | value_shape_proto.set_unknown_rank(true); |
| 35 | int ragged_rank = 1; |
| 36 | |
| 37 | TensorShapeProto actual_output_shape_proto; |
| 38 | TF_ASSERT_OK(CombineRaggedTensorToTensorShapes( |
| 39 | ragged_rank, shape_proto, value_shape_proto, &actual_output_shape_proto)); |
| 40 | |
| 41 | EXPECT_EQ(true, actual_output_shape_proto.unknown_rank()); |
| 42 | } |
| 43 | |
| 44 | TEST(CombineRaggedTensorToTensorShapes, UnknownShape) { |
| 45 | TensorShapeProto shape_proto; |
nothing calls this directly
no test coverage detected