Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Aug 16, 2023
1 parent 4a71d4f commit 2e96224
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/math/prim/fun/csr_extract_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <vector>

// Test that values from a dense matrix in sparse format are extracted.
TEST(SparseStuff, csr_extract_w_dense) {
TEST(SparseStuff, csr_extract_dense) {
stan::math::matrix_d m(2, 3);
Eigen::SparseMatrix<double, Eigen::RowMajor> a;
m << 2.0, 4.0, 6.0, 8.0, 10.0, 12.0;
Expand Down Expand Up @@ -33,7 +33,7 @@ TEST(SparseStuff, csr_extract_w_dense) {
}

// Test that values from a dense matrix are extracted.
TEST(SparseStuff, csr_extract_w_dense_dense) {
TEST(SparseStuff, csr_extract_dense_dense) {
stan::math::matrix_d m(2, 3);
m << 2.0, 4.0, 6.0, 8.0, 10.0, 12.0;
stan::math::vector_d w;
Expand Down Expand Up @@ -61,7 +61,7 @@ TEST(SparseStuff, csr_extract_w_dense_dense) {

// Test that values from a dense matrix in sparse format are extracted
// after A.makeCompressed();
TEST(SparseStuff, csr_extract_w_dense_compressed) {
TEST(SparseStuff, csr_extract_dense_compressed) {
stan::math::matrix_d m(2, 3);
Eigen::SparseMatrix<double, Eigen::RowMajor> a;
m << 2.0, 4.0, 6.0, 8.0, 10.0, 12.0;
Expand Down Expand Up @@ -91,7 +91,7 @@ TEST(SparseStuff, csr_extract_w_dense_compressed) {
}

// Test that values from a sparse matrix in sparse format are extracted
TEST(SparseStuff, csr_extract_w_sparse) {
TEST(SparseStuff, csr_extract_sparse) {
stan::math::matrix_d m(2, 3);
Eigen::SparseMatrix<double, Eigen::RowMajor> a;
m << 2.0, 4.0, 6.0, 0.0, 0.0, 0.0;
Expand All @@ -117,7 +117,7 @@ TEST(SparseStuff, csr_extract_w_sparse) {

// Test that values from a sparse matrix in sparse format are extracted
// after A.makeCompressed()
TEST(SparseStuff, csr_extract_w_sparse_compressed) {
TEST(SparseStuff, csr_extract_sparse_compressed) {
stan::math::matrix_d m(2, 3);
Eigen::SparseMatrix<double, Eigen::RowMajor> a;
m << 2.0, 4.0, 6.0, 0.0, 0.0, 0.0;
Expand Down

0 comments on commit 2e96224

Please sign in to comment.