| 503 | }; |
| 504 | |
| 505 | TEST_P(WrapAPITest, CheckDifferentWrapArgs) { |
| 506 | dim_t win_d0 = input.wc_.dim0; |
| 507 | dim_t win_d1 = input.wc_.dim1; |
| 508 | dim_t str_d0 = input.sc_.dim0; |
| 509 | dim_t str_d1 = input.sc_.dim1; |
| 510 | dim_t pad_d0 = input.pc_.dim0; |
| 511 | dim_t pad_d1 = input.pc_.dim1; |
| 512 | |
| 513 | af_array out_ = 0; |
| 514 | af_err err = af_wrap(&out_, in_, in_dims[0], in_dims[1], win_d0, win_d1, |
| 515 | str_d0, str_d1, pad_d0, pad_d1, input.is_column); |
| 516 | |
| 517 | ASSERT_EQ(err, input.err); |
| 518 | if (out_ != 0) af_release_array(out_); |
| 519 | } |
| 520 | |
| 521 | WrapArgs args[] = { |
| 522 | // clang-format off |
nothing calls this directly
no test coverage detected