- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# OsiUnitTest::TestOutcomes Class Reference

`#include <OsiUnitTests.hpp>`

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 136 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 138 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:

- /home/coin/SVN-release/Blis-0.92.0/Osi/src/OsiCommonTest/OsiUnitTests.hpp