| 1820 | } |
| 1821 | |
| 1822 | bool ListValueEqual(const google::protobuf::MessageLite& lhs, |
| 1823 | const google::protobuf::MessageLite& rhs) { |
| 1824 | const int lhs_size = lhs_accessor_->ValuesSize(lhs); |
| 1825 | const int rhs_size = rhs_accessor_->ValuesSize(rhs); |
| 1826 | if (lhs_size != rhs_size) { |
| 1827 | return false; |
| 1828 | } |
| 1829 | for (int i = 0; i < lhs_size; ++i) { |
| 1830 | if (!ValueEqual(lhs_accessor_->Values(lhs, i), |
| 1831 | rhs_accessor_->Values(rhs, i))) { |
| 1832 | return false; |
| 1833 | } |
| 1834 | } |
| 1835 | return true; |
| 1836 | } |
| 1837 | |
| 1838 | bool StructEqual(const google::protobuf::MessageLite& lhs, |
| 1839 | const google::protobuf::MessageLite& rhs) { |
no test coverage detected