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

Function TEST

tensorflow/core/platform/abi_test.cc:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23struct MyRandomPODType {};
24
25TEST(AbiTest, AbiDemangleTest) {
26 EXPECT_EQ(port::MaybeAbiDemangle(MakeTypeIndex<int>().name()), "int");
27
28 EXPECT_EQ(port::MaybeAbiDemangle(MakeTypeIndex<MyRandomPODType>().name()),
29 "tensorflow::MyRandomPODType");
30
31 EXPECT_EQ(
32 port::MaybeAbiDemangle("help! i'm caught in a C++ mangle factoryasdf"),
33 "help! i'm caught in a C++ mangle factoryasdf");
34}
35
36} // namespace tensorflow

Callers

nothing calls this directly

Calls 2

MaybeAbiDemangleFunction · 0.85
nameMethod · 0.65

Tested by

no test coverage detected