| 136 | }; |
| 137 | |
| 138 | static bool bytesEqual(SC::Span<const char> lhs, SC::StringSpan rhs) |
| 139 | { |
| 140 | if (lhs.sizeInBytes() != rhs.sizeInBytes()) |
| 141 | { |
| 142 | return false; |
| 143 | } |
| 144 | return ::memcmp(lhs.data(), rhs.bytesWithoutTerminator(), lhs.sizeInBytes()) == 0; |
| 145 | } |
| 146 | |
| 147 | static bool resultMessageEquals(SC::Result result, SC::StringSpan expected) |
| 148 | { |
no test coverage detected