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

Function getSelectLRTestParams

test/select.cpp:388–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386class SelectLR_ : public ::testing::TestWithParam<selectlr_params> {};
387
388vector<selectlr_params> getSelectLRTestParams(int M, int N) {
389 const selectlr_params _[] = {
390 selectlr_params(dim4(M), dim4(M), dim4(M)),
391 selectlr_params(dim4(M, N), dim4(M, N), dim4(M, N)),
392 selectlr_params(dim4(M, N, N), dim4(M, N, N), dim4(M, N, N)),
393 selectlr_params(dim4(M, N, N, N), dim4(M, N, N, N), dim4(M, N, N, N)),
394 selectlr_params(dim4(M, N), dim4(M, 1), dim4(M, N)),
395 selectlr_params(dim4(M, N), dim4(M, N), dim4(M, 1))};
396
397 return vector<selectlr_params>(_, _ + sizeof(_) / sizeof(_[0]));
398}
399
400string testNameGeneratorLR(
401 const ::testing::TestParamInfo<SelectLR_::ParamType> info) {

Callers 1

select.cppFile · 0.85

Calls 2

selectlr_paramsClass · 0.85
dim4Class · 0.50

Tested by

no test coverage detected