Another approach is to use ContainerEq from container matches:
ContainerEq
ASSERT_THAT(v1, ::testing::ContainerEq(v2));