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

Function TEST

test/rank_dense.cpp:116–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114TYPED_TEST(Det, Small) { detTest<TypeParam>(); }
115
116TEST(Rank, NullOutput) {
117 LAPACK_ENABLED_CHECK();
118 dim4 dims(3, 3);
119 af_array in = 0;
120 af_randu(&in, dims.ndims(), dims.get(), f32);
121
122 ASSERT_EQ(AF_ERR_ARG, af_rank(NULL, in, 1e-6));
123 ASSERT_SUCCESS(af_release_array(in));
124}

Callers

nothing calls this directly

Calls 5

af_randuFunction · 0.50
af_rankFunction · 0.50
af_release_arrayFunction · 0.50
ndimsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected