#include #include namespace xrpl::test { /// Compare two SecretKey objects for equality. /// SecretKey::operator== is deleted, so a named function is used /// to avoid member-function lookup shadowing free-function overloads. inline bool equal(SecretKey const& lhs, SecretKey const& rhs) { return lhs.size() == SecretKey::kSIZE && rhs.size() == SecretKey::kSIZE && std::memcmp(lhs.data(), rhs.data(), SecretKey::kSIZE) == 0; } } // namespace xrpl::test