| 39 | ::testing::internal::EqHelper::Compare(#val1, #val2, val1, val2) |
| 40 | |
| 41 | ::testing::AssertionResult IsSecurelyCleared(const std::string_view& area) { |
| 42 | // the entire area is filled with zeros |
| 43 | std::string zeros(area.size(), '\0'); |
| 44 | return COMPARE(area, std::string_view(zeros)); |
| 45 | } |
| 46 | |
| 47 | ::testing::AssertionResult IsSecurelyCleared(const std::string& string) { |
| 48 | return IsSecurelyCleared(StringArea(string)); |
no test coverage detected