cl/193060888
This commit is contained in:
parent
5dccf6b79e
commit
80d6e26a9c
|
@ -2753,11 +2753,11 @@ TEST(ElementsAreTest, HugeMatcher) {
|
||||||
|
|
||||||
// Tests the variadic version of the UnorderedElementsAreMatcher
|
// Tests the variadic version of the UnorderedElementsAreMatcher
|
||||||
TEST(ElementsAreTest, HugeMatcherUnordered) {
|
TEST(ElementsAreTest, HugeMatcherUnordered) {
|
||||||
vector<int> test_vector{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
|
vector<int> test_vector{2, 1, 8, 5, 4, 6, 7, 3, 9, 12, 11, 10};
|
||||||
|
|
||||||
EXPECT_THAT(test_vector, UnorderedElementsAre(
|
EXPECT_THAT(test_vector, UnorderedElementsAre(
|
||||||
Eq(1), Eq(2), Eq(3), Eq(4), Eq(5), Eq(6), Eq(7),
|
Eq(2), Eq(1), Gt(7), Eq(5), Eq(4), Eq(6), Eq(7),
|
||||||
Eq(8), Eq(9), Eq(10), Eq(11), Ne(122)));
|
Eq(3), Eq(9), Eq(12), Eq(11), Ne(122)));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // GTEST_LANG_CXX11
|
#endif // GTEST_LANG_CXX11
|
||||||
|
|
Loading…
Reference in New Issue
Block a user