| 49 | |
| 50 | template <class T> |
| 51 | string Serialize(const T& example) { |
| 52 | string serialized; |
| 53 | example.SerializeToString(&serialized); |
| 54 | return serialized; |
| 55 | } |
| 56 | |
| 57 | // Tests that serialized gets parsed identically by TestFastParse(..) |
| 58 | // and the regular Example.ParseFromString(..). |
no test coverage detected