molecular
Public Member Functions | List of all members
molecular::testbed::EqualsVector2 Class Reference

Matcher for Catch2 that compares Vector2. More...

#include <Matchers.h>

Inheritance diagram for molecular::testbed::EqualsVector2:

Public Member Functions

 EqualsVector2 (const Vector2 &v, double epsilon, double margin)
 
bool match (const Vector2 &v) const override
 Performs the test for this matcher. More...
 
std::string describe () const override
 

Detailed Description

Matcher for Catch2 that compares Vector2.

Constructor & Destructor Documentation

molecular::testbed::EqualsVector2::EqualsVector2 ( const Vector2 v,
double  epsilon,
double  margin 
)
inline

Member Function Documentation

std::string molecular::testbed::EqualsVector2::describe ( ) const
override
bool molecular::testbed::EqualsVector2::match ( const Vector2 v) const
override

Performs the test for this matcher.


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