Fission FSN
Loading...
Searching...
No Matches
doctest::Approx Struct Reference

#include <doctest.h>

Public Member Functions

 Approx (double value)
Approx operator() (double value) const
Approxepsilon (double newEpsilon)
Approxscale (double newScale)

Public Attributes

double m_epsilon
double m_scale
double m_value

Friends

DOCTEST_INTERFACE friend bool operator== (double lhs, const Approx &rhs)
DOCTEST_INTERFACE friend bool operator== (const Approx &lhs, double rhs)
DOCTEST_INTERFACE friend bool operator!= (double lhs, const Approx &rhs)
DOCTEST_INTERFACE friend bool operator!= (const Approx &lhs, double rhs)
DOCTEST_INTERFACE friend bool operator<= (double lhs, const Approx &rhs)
DOCTEST_INTERFACE friend bool operator<= (const Approx &lhs, double rhs)
DOCTEST_INTERFACE friend bool operator>= (double lhs, const Approx &rhs)
DOCTEST_INTERFACE friend bool operator>= (const Approx &lhs, double rhs)
DOCTEST_INTERFACE friend bool operator< (double lhs, const Approx &rhs)
DOCTEST_INTERFACE friend bool operator< (const Approx &lhs, double rhs)
DOCTEST_INTERFACE friend bool operator> (double lhs, const Approx &rhs)
DOCTEST_INTERFACE friend bool operator> (const Approx &lhs, double rhs)

Constructor & Destructor Documentation

◆ Approx()

doctest::Approx::Approx ( double value)

Member Function Documentation

◆ epsilon()

Approx & doctest::Approx::epsilon ( double newEpsilon)

◆ operator()()

Approx doctest::Approx::operator() ( double value) const

◆ scale()

Approx & doctest::Approx::scale ( double newScale)

◆ operator!= [1/2]

DOCTEST_INTERFACE friend bool operator!= ( const Approx & lhs,
double rhs )
friend

◆ operator!= [2/2]

DOCTEST_INTERFACE friend bool operator!= ( double lhs,
const Approx & rhs )
friend

◆ operator< [1/2]

DOCTEST_INTERFACE friend bool operator< ( const Approx & lhs,
double rhs )
friend

◆ operator< [2/2]

DOCTEST_INTERFACE friend bool operator< ( double lhs,
const Approx & rhs )
friend

◆ operator<= [1/2]

DOCTEST_INTERFACE friend bool operator<= ( const Approx & lhs,
double rhs )
friend

◆ operator<= [2/2]

DOCTEST_INTERFACE friend bool operator<= ( double lhs,
const Approx & rhs )
friend

◆ operator== [1/2]

DOCTEST_INTERFACE friend bool operator== ( const Approx & lhs,
double rhs )
friend

◆ operator== [2/2]

DOCTEST_INTERFACE friend bool operator== ( double lhs,
const Approx & rhs )
friend

◆ operator> [1/2]

DOCTEST_INTERFACE friend bool operator> ( const Approx & lhs,
double rhs )
friend

◆ operator> [2/2]

DOCTEST_INTERFACE friend bool operator> ( double lhs,
const Approx & rhs )
friend

◆ operator>= [1/2]

DOCTEST_INTERFACE friend bool operator>= ( const Approx & lhs,
double rhs )
friend

◆ operator>= [2/2]

DOCTEST_INTERFACE friend bool operator>= ( double lhs,
const Approx & rhs )
friend

Member Data Documentation

◆ m_epsilon

double doctest::Approx::m_epsilon

◆ m_scale

double doctest::Approx::m_scale

◆ m_value

double doctest::Approx::m_value

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