| 45 | ::testing::internal::EqHelper::Compare(#val1, #val2, val1, val2) |
| 46 | |
| 47 | ::testing::AssertionResult IsSecurelyCleared(const std::string_view& area) { |
| 48 | // the entire area is filled with zeros |
| 49 | std::string zeros(area.size(), '\0'); |
| 50 | return COMPARE(area, std::string_view(zeros)); |
| 51 | } |
| 52 | |
| 53 | ::testing::AssertionResult IsSecurelyCleared(const std::string& string) { |
| 54 | return IsSecurelyCleared(StringArea(string)); |
no test coverage detected