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

Function TEST_F

test/wrap.cpp:404–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402class WrapNullArgs : public WrapCommon {};
403
404TEST_F(WrapNullArgs, NullOutputPtr) {
405 af_array *out_ptr = 0;
406 ASSERT_EQ(af_wrap(out_ptr, this->in_, 4, 4, // output dims
407 2, 2, // window size
408 2, 2, // stride
409 0, 0, // padding
410 true), // is_column
411 AF_ERR_ARG);
412}
413
414TEST_F(WrapNullArgs, NullInputArray) {
415 af_array out = 0;

Callers

nothing calls this directly

Calls 2

af_wrapFunction · 0.50
af_wrap_v2Function · 0.50

Tested by

no test coverage detected