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

Function TEST_F

test/approx2.cpp:979–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977};
978
979TEST_F(Approx2NullArgs, NullOutputPtr) {
980 af_array* out_ptr = 0;
981 ASSERT_EQ(AF_ERR_ARG, af_approx2(out_ptr, this->in, this->pos1, this->pos2,
982 AF_INTERP_LINEAR, 0.f));
983}
984
985TEST_F(Approx2NullArgs, NullInputArray) {
986 ASSERT_EQ(AF_ERR_ARG, af_approx2(&this->out, 0, this->pos1, this->pos2,

Callers

nothing calls this directly

Calls 4

af_approx2Function · 0.50
af_approx2_v2Function · 0.50
af_approx2_uniformFunction · 0.50
af_approx2_uniform_v2Function · 0.50

Tested by

no test coverage detected