MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/compiler/xla/array2d_test.cc:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace {
24
25TEST(Array2dTest, DefaultCtor) {
26 Array2D<int> empty;
27 EXPECT_EQ(empty.n1(), 0);
28 EXPECT_EQ(empty.n2(), 0);
29 EXPECT_EQ(empty.num_elements(), 0);
30}
31
32TEST(Array2dTest, UninitializedDimsCtor) {
33 Array2D<int> uninit(2, 3);

Callers

nothing calls this directly

Calls 9

MakeLinspaceArray2DFunction · 0.85
n1Method · 0.45
n2Method · 0.45
num_elementsMethod · 0.45
heightMethod · 0.45
widthMethod · 0.45
FillMethod · 0.45
dataMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected