| 139 | |
| 140 | template<class inner> |
| 141 | static bool SmallMapIsSubset(SmallMap<inner> const& a, |
| 142 | SmallMap<inner> const& b) { |
| 143 | typename SmallMap<inner>::const_iterator it; |
| 144 | for (it = a.begin(); it != a.end(); ++it) { |
| 145 | typename SmallMap<inner>::const_iterator it_in_b = b.find(it->first); |
| 146 | if (it_in_b == b.end() || it_in_b->second != it->second) |
| 147 | return false; |
| 148 | } |
| 149 | return true; |
| 150 | } |
| 151 | |
| 152 | template<class inner> |
| 153 | static bool SmallMapEqual(SmallMap<inner> const& a, |
no test coverage detected