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

Function TEST

tensorflow/stream_executor/lib/statusor_test.cc:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73TEST(StatusOr, ElementType) {
74 static_assert(std::is_same<StatusOr<int>::element_type, int>(), "");
75 static_assert(std::is_same<StatusOr<char>::element_type, char>(), "");
76}
77
78TEST(StatusOr, NullPointerStatusOr) {
79 // As a very special case, null-plain-pointer StatusOr used to be an

Callers

nothing calls this directly

Calls 11

CancelledFunction · 0.85
ReturnUniquePtrFunction · 0.85
EXPECT_DEATHFunction · 0.85
ConsumeValueOrDieMethod · 0.80
StatusEnum · 0.50
okMethod · 0.45
codeMethod · 0.45
statusMethod · 0.45
getMethod · 0.45
push_backMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected