implement the first _real_ unit-tests, testing the results for correctness instead

of just checking compilation.

Fix the many issues discovered by these unit-tests, by the way fixing a performance bug.
This commit is contained in:
Benoit Jacob
2007-10-13 16:56:24 +00:00
parent 31061557a5
commit e445f5085a
16 changed files with 132 additions and 281 deletions

View File

@@ -51,7 +51,7 @@ template<typename MatrixType> class Random
{
EI_UNUSED(row);
EI_UNUSED(col);
return NumTraits<Scalar>::rand();
return NumTraits<Scalar>::random();
}
protected: