|
Revision 428, 0.6 kB
(checked in by vbarta, 16 years ago)
|
|
moved enorm tests to testsuite
|
| Line | |
|---|
| 1 | /*! |
|---|
| 2 | * \file |
|---|
| 3 | * \brief UnitTest++ checks specialized for IT++ matrices. |
|---|
| 4 | * \author Vaclav Barta. |
|---|
| 5 | * |
|---|
| 6 | * ----------------------------------- |
|---|
| 7 | * BDM++ - C++ library for Bayesian Decision Making under Uncertainty |
|---|
| 8 | * |
|---|
| 9 | * Using IT++ for numerical operations |
|---|
| 10 | * ----------------------------------- |
|---|
| 11 | */ |
|---|
| 12 | |
|---|
| 13 | #ifndef MAT_CHECKS_H |
|---|
| 14 | #define MAT_CHECKS_H |
|---|
| 15 | |
|---|
| 16 | #include "../bdm/itpp_ext.h" |
|---|
| 17 | #include "UnitTest++.h" |
|---|
| 18 | |
|---|
| 19 | namespace UnitTest |
|---|
| 20 | { |
|---|
| 21 | bool AreClose(const itpp::vec &expected, const itpp::vec &actual, |
|---|
| 22 | double tolerance); |
|---|
| 23 | |
|---|
| 24 | bool AreClose(const itpp::mat &expected, const itpp::mat &actual, |
|---|
| 25 | double tolerance); |
|---|
| 26 | } |
|---|
| 27 | |
|---|
| 28 | #endif |
|---|