| 29 | using ::testing::HasSubstr; |
| 30 | |
| 31 | XLA_TEST_F(ConstantsTest, ConstantR0WithTypeS32) { |
| 32 | XlaBuilder builder(TestName()); |
| 33 | ConstantR0WithType(&builder, xla::S32, 4); |
| 34 | ComputeAndCompareR0<int32>(&builder, 4, {}); |
| 35 | } |
| 36 | |
| 37 | XLA_TEST_F(ConstantsTest, ConstantR0WithTypeS32DoesNotAcceptFloats) { |
| 38 | XlaBuilder builder(TestName()); |
nothing calls this directly
no test coverage detected