Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
Catch::Matchers::Floating::WithinAbsMatcher Struct Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Floating::WithinAbsMatcher:
Collaboration diagram for Catch::Matchers::Floating::WithinAbsMatcher:

Public Member Functions

 WithinAbsMatcher (double target, double margin)
 
bool match (double const &matchee) const override
 
std::string describe () const override
 

Private Attributes

double m_target
 
double m_margin
 

Detailed Description

Definition at line 2589 of file catch.hpp.

Constructor & Destructor Documentation

Catch::Matchers::Floating::WithinAbsMatcher::WithinAbsMatcher ( double  target,
double  margin 
)

Member Function Documentation

std::string Catch::Matchers::Floating::WithinAbsMatcher::describe ( ) const
override
bool Catch::Matchers::Floating::WithinAbsMatcher::match ( double const &  matchee) const
override

Member Data Documentation

double Catch::Matchers::Floating::WithinAbsMatcher::m_margin
private

Definition at line 2595 of file catch.hpp.

double Catch::Matchers::Floating::WithinAbsMatcher::m_target
private

Definition at line 2594 of file catch.hpp.


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