From 1d551ec3ca7d99210d58c507780ce74630c2a8a6 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 13 Feb 2013 14:45:49 +0000 Subject: [PATCH] Make the test more interesting by testing more of the parameters. git-svn-id: https://svn.dealii.org/trunk@28373 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/matrices_lapack_fill.cc | 4 ++-- tests/lac/matrices_lapack_fill/cmp/generic | 15 ++++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/tests/lac/matrices_lapack_fill.cc b/tests/lac/matrices_lapack_fill.cc index eb1ebe4158..570a3bd89f 100644 --- a/tests/lac/matrices_lapack_fill.cc +++ b/tests/lac/matrices_lapack_fill.cc @@ -51,7 +51,7 @@ int main() deallog << "SparseMatrixEZ::fill SparseMatrixEZ" << std::endl; LAPACKFullMatrix ff(ez.m(), ez.n()); - ff.fill(ez, 0,0,0,0, 1, false); + ff.fill(ez, 0,0,0,0, 2, false); ff.print_formatted(logfile, 0, false, 5, "~"); } @@ -59,7 +59,7 @@ int main() deallog << "SparseMatrixEZ::fill SparseMatrixEZ transpose" << std::endl; LAPACKFullMatrix ff(ez.n(), ez.m()); - ff.fill(ez, 0,0,0,0, 1, true); + ff.fill(ez, 0,0,0,0, 2, true); ff.print_formatted(logfile, 0, false, 5, "~"); } diff --git a/tests/lac/matrices_lapack_fill/cmp/generic b/tests/lac/matrices_lapack_fill/cmp/generic index 073151f38d..d4dfd5d0ae 100644 --- a/tests/lac/matrices_lapack_fill/cmp/generic +++ b/tests/lac/matrices_lapack_fill/cmp/generic @@ -1,7 +1,12 @@ -DEAL::SparseMatrixEZ::copy_from SparseMatrixEZ -2. ~ 3. 4. -5. 6. ~ 7. -8. 9. 10. 11. +DEAL::SparseMatrixEZ::fill SparseMatrixEZ +4. ~ 6. 8. +10. 12. ~ 14. +16. 18. 20. 22. ~ ~ ~ ~ -12. ~ 13. 14. +24. ~ 26. 28. +DEAL::SparseMatrixEZ::fill SparseMatrixEZ transpose +4. 10. 16. ~ 24. +~ 12. 18. ~ ~ +6. ~ 20. ~ 26. +8. 14. 22. ~ 28. -- 2.39.5