Refactor unsymmetric_linear_solver_test #279

Open
sandwichmaker opened this Issue May 4, 2017 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

sandwichmaker commented May 4, 2017

  1. Value parameterized tests for smaller code.
  2. Break apart this file into individual test files, since the name itself is not terribly informative
  3. Larger collection of matrices with a more varied sparsity structure.
  4. The tests for dynamic_sparse_cholesky_solver don't really test the dynamic nature of the solve.

@keir keir pushed a commit that referenced this issue Jun 8, 2017

@sandwichmaker sandwichmaker Refactor unsymmetric_linear_solver_test
1. Break up unsymmetric_linear_solver_test into
   a. dense_linear_solver_test which covers DENSE_QR and
      DENSE_NORMAL_CHOLESKY.
   b. sparse_normal_cholesky_solver_test which covers
      SPARSE_NORMAL_CHOLESKY.

2. dense_linear_solver_test has been completely re-written. It now
   uses value parameterized tests for better logging. The number of
   test problems as been increased to 2. Last but not the least
   the actual test of correctness is not based on a golden solution
   computed using another linear solver. We now compute the residual
   and ensure that it is small.

#279

Change-Id: I9546a43e8ae85c31b2096a99405e47da326755ee
efa0911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment