Osi trunk
Public Member Functions
OsiUnitTest::TestOutcomes Class Reference

#include <OsiUnitTests.hpp>

Inheritance diagram for OsiUnitTest::TestOutcomes:
Collaboration diagram for OsiUnitTest::TestOutcomes:

List of all members.

Public Member Functions

void add (std::string comp, std::string tst, const char *cond, TestOutcome::SeverityLevel sev, const char *file, int line, bool exp=false)
void add (const OsiSolverInterface &si, std::string tst, const char *cond, TestOutcome::SeverityLevel sev, const char *file, int line, bool exp=false)
void print () const
void getCountBySeverity (TestOutcome::SeverityLevel sev, int &total, int &expected) const
 given a severity level, computes the total and the expected number of outcomes for this severity level this is implemented as O(1) operation

Detailed Description

Definition at line 98 of file OsiUnitTests.hpp.


Member Function Documentation

void OsiUnitTest::TestOutcomes::add ( std::string  comp,
std::string  tst,
const char *  cond,
TestOutcome::SeverityLevel  sev,
const char *  file,
int  line,
bool  exp = false 
) [inline]

Definition at line 100 of file OsiUnitTests.hpp.

void OsiUnitTest::TestOutcomes::add ( const OsiSolverInterface si,
std::string  tst,
const char *  cond,
TestOutcome::SeverityLevel  sev,
const char *  file,
int  line,
bool  exp = false 
)
void OsiUnitTest::TestOutcomes::print ( ) const
void OsiUnitTest::TestOutcomes::getCountBySeverity ( TestOutcome::SeverityLevel  sev,
int &  total,
int &  expected 
) const

given a severity level, computes the total and the expected number of outcomes for this severity level this is implemented as O(1) operation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines