Test application now takes 'seed' and 'repeat' command-line args

This commit is contained in:
Benoit Jacob
2007-12-03 08:35:23 +00:00
parent e05f29191e
commit 5abaaf9688
4 changed files with 93 additions and 18 deletions

View File

@@ -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