Improve matrix testing
- Mar 22, 2019
-
-
Christian Engwer authored
in order to get a `static constexpr` result, the method must be called via the type and not via `this`.
-
Oliver Sander authored
-
Oliver Sander authored
And test it.
-
Oliver Sander authored
In preparation of testing more matrix types
-
Oliver Sander authored
-
Oliver Sander authored
... and use it in bcrsmatrixtest.cc Currently we are only testing whether these methods are implemented and can be compiled.
-
Oliver Sander authored
-
Oliver Sander authored
-
Oliver Sander authored
Found by porting the unit test to the general vectortest.hh framework.
-
Oliver Sander authored
Rather than testing them manually.
-
Oliver Sander authored
-
Oliver Sander authored
This is possible now because we have IsNumber in dune-common.
-
Oliver Sander authored
-
Oliver Sander authored
-
Oliver Sander authored
This uncovers a bug in the method axpy, which is also fixed in this patch.
-
Oliver Sander authored
... and use it to test the BCRSMatrix class. Currently, the new test only tests the vector space operations required of a dune-istl matrix. More is to come in subsequent patches.
-