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

@@ -136,11 +136,13 @@ template<typename MatrixType> void basicStuff(const MatrixType& m)
void EigenTest::testBasicStuff()
{
basicStuff(Matrix<float, 1, 1>());
basicStuff(Matrix4cd());
basicStuff(MatrixXcf(3, 3));
basicStuff(MatrixXi(8, 12));
basicStuff(MatrixXd(20, 20));
REPEAT {
basicStuff(Matrix<float, 1, 1>());
basicStuff(Matrix4cd());
basicStuff(MatrixXcf(3, 3));
basicStuff(MatrixXi(8, 12));
basicStuff(MatrixXd(20, 20));
}
}
} // namespace Eigen