Test case 1: the input datasets with same number of outputs.
| 88 | |
| 89 | // Test case 1: the input datasets with same number of outputs. |
| 90 | TestParam TestCase1() { |
| 91 | return {/*input_range_dataset_params*/ |
| 92 | {RangeDatasetParam{0, 3, 1}, RangeDatasetParam{10, 13, 1}}, |
| 93 | /*expected_outputs*/ |
| 94 | {CreateTensor<int64>(TensorShape{}, {0}), |
| 95 | CreateTensor<int64>(TensorShape{}, {10}), |
| 96 | CreateTensor<int64>(TensorShape{}, {1}), |
| 97 | CreateTensor<int64>(TensorShape{}, {11}), |
| 98 | CreateTensor<int64>(TensorShape{}, {2}), |
| 99 | CreateTensor<int64>(TensorShape{}, {12})}, |
| 100 | /*breakpoints*/ {0, 1, 4}}; |
| 101 | } |
| 102 | |
| 103 | // Test case 2: the input datasets with different number of outputs. |
| 104 | TestParam TestCase2() { |
no outgoing calls
no test coverage detected