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

Function TEST

test/pad_borders.cpp:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161TEST(PadBorders, NegativePadding) {
162 af_array dummyIn = 0;
163 af_array dummyOut = 0;
164 dim_t ldims[4] = {-1, 1, 0, 1};
165 dim_t udims[4] = {-1, 1, 0, 1};
166 ASSERT_EQ(AF_ERR_SIZE,
167 af_pad(&dummyOut, dummyIn, 4, ldims, 4, udims, AF_PAD_ZERO));
168}
169
170TEST(PadBorders, NegativeNDims) {
171 af_array dummyIn = 0;

Callers

nothing calls this directly

Calls 1

af_padFunction · 0.50

Tested by

no test coverage detected