Lines Matching defs:rhs
107 void DescribeTo(ostream* os) const { *os << "is > " << rhs; }
108 void DescribeNegationTo(ostream* os) const { *os << "is <= " << rhs; }
111 if (lhs > rhs) {
112 *listener << "which is " << (lhs - rhs) << " more than " << rhs;
113 } else if (lhs == rhs) {
114 *listener << "which is the same as " << rhs;
116 *listener << "which is " << (rhs - lhs) << " less than " << rhs;
119 return lhs > rhs;
122 T rhs;
127 T&& rhs) {
128 return {rhs};
135 explicit GreaterThanMatcher(T rhs) : impl_{rhs} {}