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

Matcher for Catch2 that compares Quaternion. More...

#include <Matchers.h>

Inheritance diagram for molecular::testbed::EqualsQuaternion:

Public Member Functions

 EqualsQuaternion (const util::Quaternion &q, double epsilon, double margin)
 
bool match (const util::Quaternion &q) const override
 Performs the test for this matcher. More...
 
std::string describe () const override
 

Detailed Description

Matcher for Catch2 that compares Quaternion.

Constructor & Destructor Documentation

molecular::testbed::EqualsQuaternion::EqualsQuaternion ( const util::Quaternion q,
double  epsilon,
double  margin 
)
inline

Member Function Documentation

std::string molecular::testbed::EqualsQuaternion::describe ( ) const
override
bool molecular::testbed::EqualsQuaternion::match ( const util::Quaternion q) const
override

Performs the test for this matcher.


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