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

Function TEST_F

test/index.cpp:1922–1926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1920};
1921
1922TEST_F(IndexDocs, Precondition) {
1923 vector<float> gold(4*4);
1924 std::iota(gold.begin(), gold.end(), 0.f);
1925 ASSERT_VEC_ARRAY_EQ(gold, dim4(4, 4), A);
1926}
1927
1928TEST_F(IndexDocs, 2_3Element) {
1929 array out =

Callers 1

index.cppFile · 0.70

Calls 12

seqClass · 0.85
deviceGCFunction · 0.85
deviceMemInfoFunction · 0.85
constantFunction · 0.85
beginFunction · 0.85
hostMethod · 0.80
iotaFunction · 0.50
dim4Class · 0.50
approx2Function · 0.50
matmulFunction · 0.50
elementsMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected