Revision 426, 0.5 kB
(checked in by vbarta, 15 years ago)
|
added unit & stress tests for ldmat & chmat (as well as other descendants of square_mat)
|
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::mat &expected, const itpp::mat &actual, |
---|
22 | double tolerance); |
---|
23 | } |
---|
24 | |
---|
25 | #endif |
---|