| 1141 | } |
| 1142 | |
| 1143 | inline void expectKeyValuesAreEquivalent(const std::vector<std::pair<std::string, std::string>>& stack1, |
| 1144 | const std::vector<std::pair<std::string, std::string>>& stack2) |
| 1145 | { |
| 1146 | EXPECT_EQ(stack1.size(), stack2.size()) << "Stack1 differs from Stack 2 in size"; |
| 1147 | |
| 1148 | for (const auto& pair : stack1) |
| 1149 | { |
| 1150 | EXPECT_TRUE(stackHasKeyValuePair(stack2, pair.first, pair.second)) << |
| 1151 | "Stack 2 was missing the key value pair " << pair.first << " = " << pair.second; |
| 1152 | } |
| 1153 | } |
| 1154 | |
| 1155 | } |
| 1156 |
no test coverage detected