| 124 | // output. |
| 125 | template <typename T, typename U> |
| 126 | void 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 | |
| 135 | template <typename T> |
| 136 | void TestNumbers(T multiplier) { |
no test coverage detected