molecular
Public Member Functions | List of all members
molecular::testbed::EqualsMatrix< rows, cols, T > Class Template Reference

Matcher for Catch2 that compares Matrix. More...

#include <Matchers.h>

Inheritance diagram for molecular::testbed::EqualsMatrix< rows, cols, T >:

Public Member Functions

 EqualsMatrix (const util::Matrix< rows, cols, T > &m, double epsilon)
 
bool match (const util::Matrix< rows, cols, T > &m) const override
 Performs the test for this matcher. More...
 
std::string describe () const override
 

Detailed Description

template<int rows, int cols, typename T>
class molecular::testbed::EqualsMatrix< rows, cols, T >

Matcher for Catch2 that compares Matrix.

Constructor & Destructor Documentation

template<int rows, int cols, typename T>
molecular::testbed::EqualsMatrix< rows, cols, T >::EqualsMatrix ( const util::Matrix< rows, cols, T > &  m,
double  epsilon 
)
inline

Member Function Documentation

template<int rows, int cols, typename T>
std::string molecular::testbed::EqualsMatrix< rows, cols, T >::describe ( ) const
inlineoverride
template<int rows, int cols, typename T>
bool molecular::testbed::EqualsMatrix< rows, cols, T >::match ( const util::Matrix< rows, cols, T > &  m) const
inlineoverride

Performs the test for this matcher.


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