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

Function TYPED_TEST

test/topk.cpp:169–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169TYPED_TEST(TopK, Max1D0) {
170 af_dtype t = (af_dtype)dtype_traits<TypeParam>::af_type;
171 dim_t dims[4] = {type_max(t), 1, 1, 1};
172 topkTest<TypeParam>(1, dims, 5, 0, AF_TOPK_MAX);
173}
174
175TYPED_TEST(TopK, Max2D0) {
176 af_dtype t = (af_dtype)dtype_traits<TypeParam>::af_type;

Callers

nothing calls this directly

Calls 1

type_maxFunction · 0.85

Tested by

no test coverage detected