aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/adjoint.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-03 08:35:23 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-03 08:35:23 +0000
commit5abaaf968808d7ded685129c342aed540e574fc6 (patch)
tree60534e9a0d5b000c1a08b690f900cfaf79611d98 /test/adjoint.cpp
parente05f29191e7c7e0433b49f88016cb9fb348985d7 (diff)
Test application now takes 'seed' and 'repeat' command-line args
Diffstat (limited to 'test/adjoint.cpp')
-rw-r--r--test/adjoint.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/adjoint.cpp b/test/adjoint.cpp
index 2d6aac535..d34137c10 100644
--- a/test/adjoint.cpp
+++ b/test/adjoint.cpp
@@ -90,11 +90,13 @@ template<typename MatrixType> void adjoint(const MatrixType& m)
void EigenTest::testAdjoint()
{
- adjoint(Matrix<float, 1, 1>());
- adjoint(Matrix4cd());
- adjoint(MatrixXcf(3, 3));
- adjoint(MatrixXi(8, 12));
- adjoint(MatrixXd(20, 20));
+ REPEAT {
+ adjoint(Matrix<float, 1, 1>());
+ adjoint(Matrix4cd());
+ adjoint(MatrixXcf(3, 3));
+ adjoint(MatrixXi(8, 12));
+ adjoint(MatrixXd(20, 20));
+ }
}
} // namespace Eigen