Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
gmx::test::RVecMatcher< FloatType > Class Template Reference

Inherits MatcherInterface< std::tuple< BasicVector< FloatType >, BasicVector< FloatType > > >.

Description

template<typename FloatType>
class gmx::test::RVecMatcher< FloatType >

Implementation class for RvecEq matcher.

See RvecEq().

Public Types

using VectorType = BasicVector< FloatType >
 Convenience type.
 

Public Member Functions

 RVecMatcher (const FloatingPointTolerance &tolerance)
 Constructor.
 
bool MatchAndExplain (std::tuple< VectorType, VectorType > arg, testing::MatchResultListener *listener) const override
 Compare the two elements of arg, return whether they are equal, and comment on listener when they are not.
 
void DescribeTo (::std::ostream *os) const override
 Describe to a human what matching means.
 
void DescribeNegationTo (::std::ostream *os) const override
 Describe to a human what failing to match means.
 

The documentation for this class was generated from the following file: