Lines Matching defs:matches

216 // Returns the reason why x matches, or doesn't match, m.
782 // Tests that A<T>() matches any value of type T.
811 // Tests that An<T>() matches any value of type T.
831 // Tests that _ can be used as a matcher for any type and matches any
853 // Tests that Eq(x) matches any value equal to x.
896 // Tests that TypedEq<T>(v) matches values of type T that's equal to v.
932 // Tests that Ge(v) matches anything >= v.
946 // Tests that Gt(v) matches anything > v.
960 // Tests that Le(v) matches anything <= v.
974 // Tests that Lt(v) matches anything < v.
988 // Tests that Ne(v) matches anything != v.
1002 // Tests that IsNull() matches any NULL pointer of any type.
1065 // Tests that NotNull() matches any non-NULL pointer of any type.
1112 // Tests that Ref(variable) matches an argument that references
1382 // If neither field matches, Pair() should explain about the first
1388 // If the first field matches but the second doesn't, Pair() should
1426 // 'first' doesnt' match, but 'second' matches.
1430 // 'first' matches, but 'second' doesn't match.
1434 // Neither field matches.
1518 EXPECT_EQ("matches regular expression \"Hi.*\"", Describe(m1));
1521 EXPECT_EQ("matches regular expression \"a.*\"", Describe(m2));
1932 // Tests that Eq() matches a 2-tuple where the first field == the
1946 // Tests that Ge() matches a 2-tuple where the first field >= the
1961 // Tests that Gt() matches a 2-tuple where the first field > the
1976 // Tests that Le() matches a 2-tuple where the first field <= the
1991 // Tests that Lt() matches a 2-tuple where the first field < the
2006 // Tests that Ne() matches a 2-tuple where the first field != the
2021 // Tests that Not(m) matches any value that doesn't match m.
2055 // Tests that AllOf(m1, ..., mn) matches any value that matches all of
2253 // Tests that AnyOf(m1, ..., mn) matches any value that matches at
2460 // Tests that Truly(predicate) matches what satisfies the given
2515 // matches matcher m.
2621 // matches the matcher.
2841 // Check that inf matches inf, regardless of the of the specified max
2911 // FloatEq never matches NaN.
2936 EXPECT_EQ("never matches", Describe(m3));
2978 EXPECT_EQ("never matches", Describe(m3));
2999 // FloatNear never matches NaN.
3026 // DoubleEq never matches NaN.
3051 EXPECT_EQ("never matches", Describe(m3));
3093 EXPECT_EQ("never matches", Describe(m3));
3127 // DoubleNear never matches NaN.
4150 EXPECT_EQ("whose size 0 matches", Explain(m2, container));
4151 EXPECT_EQ("whose size 0 matches", Explain(m3, container));
4156 EXPECT_EQ("whose size 2 matches", Explain(m1, container));
4159 EXPECT_EQ("whose size 2 matches, which is 1 more than 1",
4618 EXPECT_EQ("whose distance between begin() and end() 0 matches",
4620 EXPECT_EQ("whose distance between begin() and end() 0 matches",
4628 EXPECT_EQ("whose distance between begin() and end() 2 matches",
4635 "whose distance between begin() and end() 2 matches, which is 1 more "
4823 // The element with value '3' matches nothing: fail fast.
4963 // We have to be a bit loose here, because there are 4 valid max matches.
5106 ElementMatcherPairs matches =
5108 EXPECT_EQ(FindBacktrackingMaxBPM(graph).size(), matches.size())
5110 // Check that all elements of matches are in the graph.
5114 SCOPED_TRACE(PrintToString(matches));
5115 for (size_t i = 0; i < matches.size(); ++i) {
5116 size_t ilhs = matches[i].first;
5117 size_t irhs = matches[i].second;