| 46 | }; |
| 47 | |
| 48 | TEST_F(ConvertTest, ConvertR1S32ToR1S32) { |
| 49 | XlaBuilder builder(TestName()); |
| 50 | auto a = ConstantR1<int32>(&builder, {42, 64}); |
| 51 | ConvertElementType(a, S32); |
| 52 | |
| 53 | std::vector<int32> expected = {42, 64}; |
| 54 | ComputeAndCompareR1<int32>(&builder, expected, {}); |
| 55 | } |
| 56 | |
| 57 | TEST_F(ConvertTest, ConvertR1S32ToR1U32) { |
| 58 | XlaBuilder builder(TestName()); |
nothing calls this directly
no test coverage detected