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

Function TestWriteAppends

tensorflow/core/lib/strings/ordered_code_test.cc:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124// output.
125template <typename T, typename U>
126void TestWriteAppends(T first, U second) {
127 string encoded;
128 OCWriteToString<T>(&encoded, first);
129 string encoded_first_only = encoded;
130 OCWriteToString<U>(&encoded, second);
131 EXPECT_NE(encoded, encoded_first_only);
132 EXPECT_TRUE(absl::StartsWith(encoded, encoded_first_only));
133}
134
135template <typename T>
136void TestNumbers(T multiplier) {

Callers 2

TestNumbersFunction · 0.85
TESTFunction · 0.85

Calls 1

StartsWithFunction · 0.85

Tested by

no test coverage detected