| 154 | } |
| 155 | |
| 156 | XLA_TEST_F(ConvertTest, ConvertR1S0S32ToR1S0F32) { |
| 157 | XlaBuilder builder(TestName()); |
| 158 | auto a = ConstantR1<int32>(&builder, {}); |
| 159 | ConvertElementType(a, F32); |
| 160 | |
| 161 | std::vector<float> expected = {}; |
| 162 | ComputeAndCompareR1<float>(&builder, expected, {}); |
| 163 | } |
| 164 | |
| 165 | TEST_F(ConvertTest, ConvertR1F32ToR1S32) { |
| 166 | XlaBuilder builder(TestName()); |
nothing calls this directly
no test coverage detected