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

Function TEST

tensorflow/core/util/proto/descriptor_pool_registry_test.cc:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33} // namespace
34
35TEST(DescriptorPoolRegistryTest, TestBasic) {
36 EXPECT_EQ(DescriptorPoolRegistry::Global()->Get("NON-EXISTENT"), nullptr);
37 auto pool1 = DescriptorPoolRegistry::Global()->Get("TEST POOL 1");
38 EXPECT_NE(pool1, nullptr);
39 auto pool2 = DescriptorPoolRegistry::Global()->Get("TEST POOL 2");
40 EXPECT_NE(pool2, nullptr);
41}
42
43} // namespace tensorflow

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected