| 402 | class WrapNullArgs : public WrapCommon {}; |
| 403 | |
| 404 | TEST_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 | |
| 414 | TEST_F(WrapNullArgs, NullInputArray) { |
| 415 | af_array out = 0; |
nothing calls this directly
no test coverage detected