Gromacs
2020.4
|
#include "gmxpre.h"
#include "testmatchers.h"
#include <memory>
#include <gmock/gmock.h>
#include "testutils/testasserts.h"
Implements floating-point matchers from testmatchers.h for use with Google Mock.
Classes | |
class | gmx::test::FloatTypeMatcher< FloatType > |
Implementation class for RealEq matcher. More... | |
class | gmx::test::RVecMatcher< FloatType > |
Implementation class for RvecEq matcher. More... | |
Functions | |
testing::Matcher< std::tuple < float, float > > | gmx::test::FloatEq (const FloatingPointTolerance &tolerance) |
Make matcher for floats for use with GoogleMock that compare equal when tolerance is satisifed. More... | |
testing::Matcher< std::tuple < double, double > > | gmx::test::DoubleEq (const FloatingPointTolerance &tolerance) |
Make matcher for doubles for use with GoogleMock that compare equal when tolerance is satisifed. More... | |
testing::Matcher< std::tuple < real, real > > | gmx::test::RealEq (const FloatingPointTolerance &tolerance) |
Make matcher for reals for use with GoogleMock that compare equal when tolerance is satisifed. More... | |
testing::Matcher< std::tuple < RVec, RVec > > | gmx::test::RVecEq (const FloatingPointTolerance &tolerance) |
Make matcher for RVecs for use with GoogleMock that compare equal when tolerance is satisifed. More... | |