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

Function TEST_P

test/arrayio.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 getTypeName);
57
58TEST_P(ArrayIOType, ReadType) {
59 type_params p = GetParam();
60 if (noDoubleTests(p.type)) GTEST_SKIP() << "No double support.";
61 array arr =
62 readArray((string(TEST_DIR) + "/arrayio/" + p.name + ".arr").c_str(),
63 p.name.c_str());
64
65 ASSERT_EQ(arr.type(), p.type);
66}
67
68TEST_P(ArrayIOType, ReadSize) {
69 type_params p = GetParam();

Callers

nothing calls this directly

Calls 5

noDoubleTestsFunction · 0.85
readArrayFunction · 0.85
typeMethod · 0.80
dim4Class · 0.50
dimsMethod · 0.45

Tested by

no test coverage detected