diff options
Diffstat (limited to 'test/zerosized.cpp')
-rw-r--r-- | test/zerosized.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/zerosized.cpp b/test/zerosized.cpp index edd1f6925..6be136e25 100644 --- a/test/zerosized.cpp +++ b/test/zerosized.cpp @@ -16,9 +16,13 @@ template<typename MatrixType> void zeroReduction(const MatrixType& m) { VERIFY(!m.any()); VERIFY(m.prod()==1); VERIFY(m.sum()==0); + VERIFY(m.norm()==0); + VERIFY(m.squaredNorm()==0); VERIFY(m.count()==0); VERIFY(m.allFinite()); VERIFY(!m.hasNaN()); + VERIFY_RAISES_ASSERT( m.minCoeff() ); + VERIFY_RAISES_ASSERT( m.maxCoeff() ); } |