title: Compare containers with GoogleTest
body: <p>I'm trying to get a working googletest test that compares two vectors. For this I'm using google mock with its <a href="https://github.com/google/googletest/blob/master/docs/gmock_cheat_sheet.md#matchers-matcherlist" rel="nofollow noreferrer">matchers</a> but I get a C3861 error saying &quot;ContainerEq identifier not found&quot; and also C2512 saying &quot;testing::AssertionResult has not a proper default constructor available&quot;. Why?</p>
  <pre><code>TEST(MyTestSuite, MyTest)
  {
      std::vector&lt;int&gt; test1;
      std::vector&lt;int&gt; test2;
  
      ...
  
      EXPECT_THAT(test1, ContainerEq(test2));
  }
  </code></pre>