Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::ElementalMatcher Class Reference

#include <elemental_matcher.h>

Public Types

using is_gtest_matcher = void

Public Member Functions

 ElementalMatcher (const Elemental &expected ABSL_ATTRIBUTE_LIFETIME_BOUND, const ElementalDifferenceOptions &options)
bool MatchAndExplain (const Elemental &actual, std::ostream *os) const
void DescribeTo (std::ostream *os) const
void DescribeNegationTo (std::ostream *os) const

Detailed Description

Definition at line 26 of file elemental_matcher.h.

Member Typedef Documentation

◆ is_gtest_matcher

Constructor & Destructor Documentation

◆ ElementalMatcher()

operations_research::math_opt::ElementalMatcher::ElementalMatcher ( const Elemental &expected ABSL_ATTRIBUTE_LIFETIME_BOUND,
const ElementalDifferenceOptions & options )
explicit

Definition at line 23 of file elemental_matcher.cc.

Member Function Documentation

◆ DescribeNegationTo()

void operations_research::math_opt::ElementalMatcher::DescribeNegationTo ( std::ostream * os) const

Definition at line 45 of file elemental_matcher.cc.

◆ DescribeTo()

void operations_research::math_opt::ElementalMatcher::DescribeTo ( std::ostream * os) const

Definition at line 41 of file elemental_matcher.cc.

◆ MatchAndExplain()

bool operations_research::math_opt::ElementalMatcher::MatchAndExplain ( const Elemental & actual,
std::ostream * os ) const

Definition at line 27 of file elemental_matcher.cc.


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