MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / TEST_P

Function TEST_P

test/wrap.cpp:505–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503};
504
505TEST_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
521WrapArgs args[] = {
522 // clang-format off

Callers

nothing calls this directly

Calls 2

af_wrapFunction · 0.50
af_release_arrayFunction · 0.50

Tested by

no test coverage detected